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:21:59 UTC

svn commit: r1096703 - in /santuario/xml-security-java/branches/1.4.x-fixes: CHANGELOG.txt src/org/apache/xml/security/c14n/implementations/Canonicalizer11.java

Author: coheigea
Date: Tue Apr 26 09:21:58 2011
New Revision: 1096703

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

Modified:
    santuario/xml-security-java/branches/1.4.x-fixes/CHANGELOG.txt
    santuario/xml-security-java/branches/1.4.x-fixes/src/org/apache/xml/security/c14n/implementations/Canonicalizer11.java

Modified: santuario/xml-security-java/branches/1.4.x-fixes/CHANGELOG.txt
URL: http://svn.apache.org/viewvc/santuario/xml-security-java/branches/1.4.x-fixes/CHANGELOG.txt?rev=1096703&r1=1096702&r2=1096703&view=diff
==============================================================================
--- santuario/xml-security-java/branches/1.4.x-fixes/CHANGELOG.txt (original)
+++ santuario/xml-security-java/branches/1.4.x-fixes/CHANGELOG.txt Tue Apr 26 09:21:58 2011
@@ -1,5 +1,6 @@
 Changelog for "Apache xml-security" <http://santuario.apache.org/>
 New in v1.4.5-SNAPSHOT
+    Fixed SANTUARIO-266: c14n11 produces different signatures using version 1.4.3 and 1.4.4.
     Fixed SANTUARIO-253: org.apache.xml.security.utils.resolver.ResourceResolver is not thread safe.
     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/branches/1.4.x-fixes/src/org/apache/xml/security/c14n/implementations/Canonicalizer11.java
URL: http://svn.apache.org/viewvc/santuario/xml-security-java/branches/1.4.x-fixes/src/org/apache/xml/security/c14n/implementations/Canonicalizer11.java?rev=1096703&r1=1096702&r2=1096703&view=diff
==============================================================================
--- santuario/xml-security-java/branches/1.4.x-fixes/src/org/apache/xml/security/c14n/implementations/Canonicalizer11.java (original)
+++ santuario/xml-security-java/branches/1.4.x-fixes/src/org/apache/xml/security/c14n/implementations/Canonicalizer11.java Tue Apr 26 09:21:58 2011
@@ -422,7 +422,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;