You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by mu...@apache.org on 2006/01/27 19:45:29 UTC

svn commit: r372943 - /xml/security/branches/jsr105_0_16/src/org/apache/xml/security/utils/ElementProxy.java

Author: mullan
Date: Fri Jan 27 10:45:22 2006
New Revision: 372943

URL: http://svn.apache.org/viewcvs?rev=372943&view=rev
Log:
Fixed Bug 38405: ElementProxy.length() is not working

Modified:
    xml/security/branches/jsr105_0_16/src/org/apache/xml/security/utils/ElementProxy.java

Modified: xml/security/branches/jsr105_0_16/src/org/apache/xml/security/utils/ElementProxy.java
URL: http://svn.apache.org/viewcvs/xml/security/branches/jsr105_0_16/src/org/apache/xml/security/utils/ElementProxy.java?rev=372943&r1=372942&r2=372943&view=diff
==============================================================================
--- xml/security/branches/jsr105_0_16/src/org/apache/xml/security/utils/ElementProxy.java (original)
+++ xml/security/branches/jsr105_0_16/src/org/apache/xml/security/utils/ElementProxy.java Fri Jan 27 10:45:22 2006
@@ -472,7 +472,7 @@
    	    while (sibling!=null) {        
    	    	if (localname.equals(sibling.getLocalName())
    	    			&&  
-					namespace!=sibling.getNamespaceURI() ) {            
+					namespace==sibling.getNamespaceURI() ) {            
    	    		number++;
    	    	}
    	    	sibling=sibling.getNextSibling();