Author: borisk
Date: Tue Jun 24 07:07:21 2008
New Revision: 671176

URL: http://svn.apache.org/viewvc?rev=671176&view=rev
Log:
Fix a bug introduced with a previous commit.

Modified:
    xerces/c/trunk/src/xercesc/validators/schema/SchemaValidator.cpp

Modified: xerces/c/trunk/src/xercesc/validators/schema/SchemaValidator.cpp
URL: 
http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/schema/SchemaValidator.cpp?rev=671176&r1=671175&r2=671176&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/schema/SchemaValidator.cpp (original)
+++ xerces/c/trunk/src/xercesc/validators/schema/SchemaValidator.cpp Tue Jun 24 
07:07:21 2008
@@ -1895,7 +1895,7 @@
     //
     if (((derivedType & 0x0f) == ContentSpecNode::Any_Other) &&
         ((baseType & 0x0f) == ContentSpecNode::Any_Other) &&
-        baseURI == derivedURI || baseURI == 1) {
+        (baseURI == derivedURI || baseURI == 1)) {
         return true;
     }
 
@@ -1907,7 +1907,7 @@
         }
 
         if (((baseType & 0x0f) == ContentSpecNode::Any_Other) &&
-            derivedURI == 1 || baseURI != derivedURI) {
+            (derivedURI == 1 || baseURI != derivedURI)) {
             return true;
         }
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to