cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/xml/dom DOMStreamer.java
Date Sat, 08 Mar 2003 10:29:31 GMT
sylvain     2003/03/08 02:29:31

  Modified:    src/java/org/apache/cocoon/xml/dom DOMStreamer.java
  Log:
  DOMStreamer should not send start/endDocument event
  
  Revision  Changes    Path
  1.11      +5 -3      xml-cocoon2/src/java/org/apache/cocoon/xml/dom/DOMStreamer.java
  
  Index: DOMStreamer.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/xml/dom/DOMStreamer.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- DOMStreamer.java	7 Mar 2003 13:19:09 -0000	1.10
  +++ DOMStreamer.java	8 Mar 2003 10:29:30 -0000	1.11
  @@ -247,7 +247,8 @@
            */
           protected void stream(Node pos) throws SAXException {
   
  -            contentHandler.startDocument();
  +            // (SW) we stream a fragment, and not a complete document
  +            //contentHandler.startDocument();
   
               Node top = pos;
   
  @@ -280,7 +281,8 @@
   
                   pos = nextNode;
               }
  -            contentHandler.endDocument();
  +            // (SW) we stream a fragment, and not a complete document
  +            //contentHandler.endDocument();
           }
   
           private final void dispatachChars(Node node) throws SAXException {
  
  
  

Mime
View raw message