You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by am...@apache.org on 2007/01/30 17:17:42 UTC

svn commit: r501443 - /xerces/c/trunk/src/xercesc/validators/schema/identity/ValueStore.cpp

Author: amassari
Date: Tue Jan 30 08:17:40 2007
New Revision: 501443

URL: http://svn.apache.org/viewvc?view=rev&rev=501443
Log:
Fix backport of XERCESC-1237

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

Modified: xerces/c/trunk/src/xercesc/validators/schema/identity/ValueStore.cpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/validators/schema/identity/ValueStore.cpp?view=diff&rev=501443&r1=501442&r2=501443
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/schema/identity/ValueStore.cpp (original)
+++ xerces/c/trunk/src/xercesc/validators/schema/identity/ValueStore.cpp Tue Jan 30 08:17:40 2007
@@ -154,7 +154,7 @@
     // do we have enough values?
     if ((fValuesCount != fIdentityConstraint->getFieldCount()) && fDoReportError) {
 
-        if(fIdentityConstraint->getType()==IdentityConstraint::KEY)
+        if(fIdentityConstraint->getType()==IdentityConstraint::ICType_KEY)
         {
 			fScanner->getValidator()->emitError(XMLValid::IC_KeyNotEnoughValues,
                 fIdentityConstraint->getElementName(), fIdentityConstraint->getIdentityConstraintName());



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