cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/xml SaxBuffer.java
Date Thu, 20 Nov 2003 14:09:59 GMT
bruno       2003/11/20 06:09:59

  Modified:    src/java/org/apache/cocoon/xml SaxBuffer.java
  Log:
  clone Attributes parameter in startElement event, SAX doesn't require this to be persistent.
  
  Revision  Changes    Path
  1.5       +2 -2      cocoon-2.1/src/java/org/apache/cocoon/xml/SaxBuffer.java
  
  Index: SaxBuffer.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/xml/SaxBuffer.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SaxBuffer.java	17 Nov 2003 02:17:42 -0000	1.4
  +++ SaxBuffer.java	20 Nov 2003 14:09:59 -0000	1.5
  @@ -192,7 +192,7 @@
               this.namespaceURI = namespaceURI;
               this.localName = localName;
               this.qName = qName;
  -            this.attrs = attrs;
  +            this.attrs = new org.xml.sax.helpers.AttributesImpl(attrs);
           }
   
           public void send(ContentHandler contentHandler) throws SAXException {
  
  
  

Mime
View raw message