bruno       2003/03/19 01:40:42

  Modified:    src/java/org/apache/cocoon/xml/dom DOMStreamer.java
  Log:
  Removed remark about not supporting dom level 1 trees (it is supported now)
  and being slower than Xalan's DOMStreamer (did some tests, and it's about
  as fast -- most of the time goes into reading data from the DOM tree anyway)
  
  Revision  Changes    Path
  1.10      +1 -8      cocoon-2.1/src/java/org/apache/cocoon/xml/dom/DOMStreamer.java
  
  Index: DOMStreamer.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/xml/dom/DOMStreamer.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- DOMStreamer.java  18 Mar 2003 15:44:47 -0000      1.9
  +++ DOMStreamer.java  19 Mar 2003 09:40:42 -0000      1.10
  @@ -201,15 +201,8 @@
        * used is described in
        * <a 
href="http://www.w3.org/TR/2002/WD-DOM-Level-3-Core-20021022/namespaces-algorithms.html#normalizeDocumentAlgo";>an
 appendix of the DOM Level 3 spec</a>.
        *
  -     * <p>Additionally, this class does not support serializing DOM Level 1 trees. 
In
  -     * other words, the localName property of elements and attributes should always 
have
  -     * a value.
  -     *
        * <p>This class will NOT check the correctness of namespaces, e.g. it will not
        * check that the "xml" prefix is not misused etc.
  -     *
  -     * <p>This class has of course more overhead then the normal DOM-streamer, so 
only
  -     * use it in cases where it's needed.
        *
        * @author Bruno Dumon (bruno at outerthought dot org)
        * @author Xalan team
  
  
  

Reply via email to