commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r231483 - /jakarta/commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/impl/StaticTag.java
Date Thu, 11 Aug 2005 17:15:38 GMT
Author: polx
Date: Thu Aug 11 10:15:34 2005
New Revision: 231483

URL: http://svn.apache.org/viewcvs?rev=231483&view=rev
Log:
Filed by Diogo Quintela... setAttribute seems called at every run which
would, because of SAX's AttributesImpl way of handling attributes, fill a
list.
Thanks Diogo!
paul

Modified:
    jakarta/commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/impl/StaticTag.java

Modified: jakarta/commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/impl/StaticTag.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/impl/StaticTag.java?rev=231483&r1=231482&r2=231483&view=diff
==============================================================================
--- jakarta/commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/impl/StaticTag.java
(original)
+++ jakarta/commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/impl/StaticTag.java
Thu Aug 11 10:15:34 2005
@@ -66,6 +66,8 @@
             output.endElement(uri, localName, qname);
         } catch (SAXException e) {
             throw new JellyTagException(e);
+        } finally {
+            attributes.clear();
         }
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message