You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by co...@apache.org on 2014/01/13 13:50:07 UTC

svn commit: r1557695 - /santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/stax/impl/XMLSecurityStreamReader.java

Author: coheigea
Date: Mon Jan 13 12:50:06 2014
New Revision: 1557695

URL: http://svn.apache.org/r1557695
Log:
Fixing bug with switch statement

Modified:
    santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/stax/impl/XMLSecurityStreamReader.java

Modified: santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/stax/impl/XMLSecurityStreamReader.java
URL: http://svn.apache.org/viewvc/santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/stax/impl/XMLSecurityStreamReader.java?rev=1557695&r1=1557694&r2=1557695&view=diff
==============================================================================
--- santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/stax/impl/XMLSecurityStreamReader.java (original)
+++ santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/stax/impl/XMLSecurityStreamReader.java Mon Jan 13 12:50:06 2014
@@ -151,6 +151,7 @@ public class XMLSecurityStreamReader imp
                 case CDATA:
                 case CHARACTERS:
                     stringBuilder.append(getText());
+                    break;
                 default:
                     throw new XMLStreamException("Expected a text token, got " + type + ".");
             }