cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r754705 - /cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/IncludeTransformer.java
Date Sun, 15 Mar 2009 17:49:46 GMT
Author: reinhard
Date: Sun Mar 15 17:49:46 2009
New Revision: 754705

URL: http://svn.apache.org/viewvc?rev=754705&view=rev
Log:
really use the embedded sax pipe (thanks to Carsten and Steven who found this bug)

Modified:
    cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/IncludeTransformer.java

Modified: cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/IncludeTransformer.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/IncludeTransformer.java?rev=754705&r1=754704&r2=754705&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/IncludeTransformer.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-sax/src/main/java/org/apache/cocoon/sax/component/IncludeTransformer.java
Sun Mar 15 17:49:46 2009
@@ -64,8 +64,8 @@
             URL source = this.createSource(sourceAtt);
 
             XMLReader xmlReader = XMLReaderFactory.createXMLReader();
-            xmlReader.setContentHandler(this.getSAXConsumer());
             EmbeddedSAXPipe embeddedSAXPipe = new EmbeddedSAXPipe(this.getSAXConsumer());
+            xmlReader.setContentHandler(embeddedSAXPipe);
             xmlReader.setProperty("http://xml.org/sax/properties/lexical-handler", embeddedSAXPipe);
 
             BufferedInputStream inputStream = new BufferedInputStream(source.openStream());



Mime
View raw message