You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2010/07/24 19:26:53 UTC

svn commit: r978906 - /xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/util/NamespaceSupport.java

Author: mrglavas
Date: Sat Jul 24 17:26:53 2010
New Revision: 978906

URL: http://svn.apache.org/viewvc?rev=978906&view=rev
Log:
Fully restoring SVN rev 965252. NamespaceSupport is supposed to be comparing strings with '=='.

Modified:
    xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/util/NamespaceSupport.java

Modified: xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/util/NamespaceSupport.java
URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/util/NamespaceSupport.java?rev=978906&r1=978905&r2=978906&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/util/NamespaceSupport.java (original)
+++ xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/util/NamespaceSupport.java Sat Jul 24 17:26:53 2010
@@ -207,7 +207,7 @@ public class NamespaceSupport implements
 
         // find uri in current context
         for (int i = fNamespaceSize; i > 0; i -= 2) {
-            if (uri.equals(fNamespace[i - 1])) {
+            if (fNamespace[i - 1] == uri) {
                 if (getURI(fNamespace[i - 2]) == uri)
                     return fNamespace[i - 2];
             }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org