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 2011/04/26 11:33:55 UTC

svn commit: r1096704 - in /santuario/xml-security-java/trunk: CHANGELOG.txt src/main/java/org/apache/xml/security/c14n/implementations/Canonicalizer11.java

Author: coheigea
Date: Tue Apr 26 09:33:55 2011
New Revision: 1096704

URL: http://svn.apache.org/viewvc?rev=1096704&view=rev
Log:
[SANTUARIO-266] - c14n11 produces different signatures using version 1.4.3 and 1.4.4

Modified:
    santuario/xml-security-java/trunk/CHANGELOG.txt
    santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/c14n/implementations/Canonicalizer11.java

Modified: santuario/xml-security-java/trunk/CHANGELOG.txt
URL: http://svn.apache.org/viewvc/santuario/xml-security-java/trunk/CHANGELOG.txt?rev=1096704&r1=1096703&r2=1096704&view=diff
==============================================================================
--- santuario/xml-security-java/trunk/CHANGELOG.txt (original)
+++ santuario/xml-security-java/trunk/CHANGELOG.txt Tue Apr 26 09:33:55 2011
@@ -1,6 +1,7 @@
 Changelog for "Apache xml-security" <http://santuario.apache.org/>
 
 New in v1.5.0-SNAPSHOT
+    Fixed SANTUARIO-266: c14n11 produces different signatures using version 1.4.3 and 1.4.4.
     Fixed SANTUARIO-254: Rework org.apache.xml.security.utils.resolver.ResourceResolver.
     Fixed SANTUARIO-263: Canonicalizer can't handle dynamical created DOM correctly. Thanks to Martin Koegler.
     Fixed SANTUARIO-262: Invalid use of String.getBytes(). Thanks to Martin Koegler.

Modified: santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/c14n/implementations/Canonicalizer11.java
URL: http://svn.apache.org/viewvc/santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/c14n/implementations/Canonicalizer11.java?rev=1096704&r1=1096703&r2=1096704&view=diff
==============================================================================
--- santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/c14n/implementations/Canonicalizer11.java (original)
+++ santuario/xml-security-java/trunk/src/main/java/org/apache/xml/security/c14n/implementations/Canonicalizer11.java Tue Apr 26 09:33:55 2011
@@ -431,7 +431,7 @@ public abstract class Canonicalizer11 ex
             Attr N = (Attr) attrs.item(i);
             if (!Constants.NamespaceSpecNS.equals(N.getNamespaceURI())) {
                 // Not a namespace definition, ignore.
-                if (!XML_LANG_URI.equals(N.getNamespaceURI())) {
+                if (XML_LANG_URI.equals(N.getNamespaceURI())) {
                     xmlattrStack.addXmlnsAttr(N);
                 }
                 continue;