[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xerces-cvs
Subject:    svn commit: r359558 -
From:       cargilld () apache ! org
Date:       2005-12-28 16:46:52
Message-ID: 20051228164652.1620.qmail () minotaur ! apache ! org
[Download RAW message or body]

Author: cargilld
Date: Wed Dec 28 08:46:49 2005
New Revision: 359558

URL: http://svn.apache.org/viewcvs?rev=359558&view=rev
Log:
Schema fixes for union of union.

Modified:
    xerces/c/branches/xerces-2.7/src/xercesc/validators/datatype/UnionDatatypeValidator.hpp


Modified: xerces/c/branches/xerces-2.7/src/xercesc/validators/datatype/UnionDatatypeValidator.hpp
                
URL: http://svn.apache.org/viewcvs/xerces/c/branches/xerces-2.7/src/xercesc/validators/datatype/UnionDatatypeValidator.hpp?rev=359558&r1=359557&r2=359558&view=diff
 ==============================================================================
--- xerces/c/branches/xerces-2.7/src/xercesc/validators/datatype/UnionDatatypeValidator.hpp \
                (original)
+++ xerces/c/branches/xerces-2.7/src/xercesc/validators/datatype/UnionDatatypeValidator.hpp \
Wed Dec 28 08:46:49 2005 @@ -337,8 +337,8 @@
         unsigned int memberSize = fMemberTypeValidators->size();
 
         for (unsigned int i=0; i < memberSize; i++) {
-
-            if (fMemberTypeValidators->elementAt(i)->getType() == \
DatatypeValidator::Union) +            if \
((fMemberTypeValidators->elementAt(i)->getType() == DatatypeValidator::Union) && +    \
(fMemberTypeValidators->elementAt(i) == toCheck))  return false;
             if (fMemberTypeValidators->elementAt(i)->isSubstitutableBy(toCheck)) {
                 return true;



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic