You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by el...@apache.org on 2003/05/26 19:53:38 UTC

cvs commit: xml-xerces/java/src/org/apache/xml/serialize BaseMarkupSerializer.java

elena       2003/05/26 10:53:38

  Modified:    java/src/org/apache/xml/serialize BaseMarkupSerializer.java
  Log:
  Fixing a typo in serializer, thanks to Michael Glavassevich:
  http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20248
  
  Revision  Changes    Path
  1.45      +2 -2      xml-xerces/java/src/org/apache/xml/serialize/BaseMarkupSerializer.java
  
  Index: BaseMarkupSerializer.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xml/serialize/BaseMarkupSerializer.java,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- BaseMarkupSerializer.java	13 May 2003 13:23:48 -0000	1.44
  +++ BaseMarkupSerializer.java	26 May 2003 17:53:38 -0000	1.45
  @@ -1203,7 +1203,7 @@
           case Node.ELEMENT_NODE :  {
   
               if (fDOMFilter !=null && 
  -                  (fDOMFilter.getWhatToShow() & NodeFilter.SHOW_PROCESSING_INSTRUCTION)!= 0) {
  +                  (fDOMFilter.getWhatToShow() & NodeFilter.SHOW_ELEMENT)!= 0) {
                     short code = fDOMFilter.acceptNode(node);
                     switch (code) {
                       case NodeFilter.FILTER_REJECT: {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org