cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jjohns...@apache.org
Subject svn commit: r531553 - /cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/xml/ParamSaxBuffer.java
Date Mon, 23 Apr 2007 18:22:18 GMT
Author: jjohnston
Date: Mon Apr 23 11:22:17 2007
New Revision: 531553

URL: http://svn.apache.org/viewvc?view=rev&rev=531553
Log:
Fix for COCOON-1315 - when substitution params like {0} are split over multiple character
events, do not write out extra garbage characters. Thanks to Gunnar Brand for the fix.

Modified:
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/xml/ParamSaxBuffer.java

Modified: cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/xml/ParamSaxBuffer.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/xml/ParamSaxBuffer.java?view=diff&rev=531553&r1=531552&r2=531553
==============================================================================
--- cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/xml/ParamSaxBuffer.java
(original)
+++ cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/xml/ParamSaxBuffer.java
Mon Apr 23 11:22:17 2007
@@ -97,7 +97,7 @@
                     // provides the '}'
                     previous_ch = new char[end - i];
                     System.arraycopy(ch, i, previous_ch, 0, end - i);
-                    break;
+                    return;
                 }
                 addBit(new Parameter(name.toString()));
 



Mime
View raw message