xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jkess...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xalan/transformer ResultTreeHandler.java
Date Thu, 11 Oct 2001 12:49:44 GMT
jkesselm    01/10/11 05:49:44

  Modified:    java/src/org/apache/xalan/transformer ResultTreeHandler.java
  Log:
  Comment tweak. Independent of the serializer issue, we Really Should output
  the namespace both ways.
  
  Revision  Changes    Path
  1.50      +8 -8      xml-xalan/java/src/org/apache/xalan/transformer/ResultTreeHandler.java
  
  Index: ResultTreeHandler.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/transformer/ResultTreeHandler.java,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- ResultTreeHandler.java	2001/10/10 20:55:44	1.49
  +++ ResultTreeHandler.java	2001/10/11 12:49:44	1.50
  @@ -1001,14 +1001,14 @@
           if ((null == foundURI) ||!foundURI.equals(ns))
           {
             startPrefixMapping(prefix, ns, false);
  -					
  -					// LRE10: Need to register it as an attr too, since our serializer
  -					// currently doesn't handle getting only startPrefixMapping.
  -					// ALTERNATIVE would be to fix that...
  -					m_attributes.addAttribute("http://www.w3.org/2000/xmlns/", 
  -																		prefix, 
  -																		"xmlns"+(prefix.length()==0 ? "" : ":")+prefix, 
  -																		"CDATA", ns);
  +                                        
  +          // Bugzilla1133: Generate attribute as well as namespace event.
  +          // SAX does expect both.
  +
  +          m_attributes.addAttribute("http://www.w3.org/2000/xmlns/", 
  +                                    prefix, 
  +                                    "xmlns"+(prefix.length()==0 ? "" : ":")+prefix, 
  +                                    "CDATA", ns);
           }
         }
       }
  
  
  

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


Mime
View raw message