You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2002/11/27 19:04:23 UTC
cvs commit: xml-xerces/c/src/xercesc/validators/schema TraverseSchema.cpp
tng 2002/11/27 10:04:23
Modified: c/src/xercesc/validators/schema TraverseSchema.cpp
Log:
Schema Fix: fExitOnfirstFatal flag should be set independent of full schema checking.
Revision Changes Path
1.32 +3 -6 xml-xerces/c/src/xercesc/validators/schema/TraverseSchema.cpp
Index: TraverseSchema.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/schema/TraverseSchema.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- TraverseSchema.cpp 4 Nov 2002 14:49:42 -0000 1.31
+++ TraverseSchema.cpp 27 Nov 2002 18:04:23 -0000 1.32
@@ -7676,12 +7676,9 @@
void TraverseSchema::init() {
fXSDErrorReporter.setErrorReporter(fErrorReporter);
+ fXSDErrorReporter.setExitOnFirstFatal(fScanner->getExitOnFirstFatal());
- if (fScanner && fScanner->getValidationSchemaFullChecking()) {
-
- fFullConstraintChecking = true;
- fXSDErrorReporter.setExitOnFirstFatal(fScanner->getExitOnFirstFatal());
- }
+ fFullConstraintChecking = fScanner->getValidationSchemaFullChecking();
fDatatypeRegistry = fSchemaGrammar->getDatatypeRegistry();
fStringPool = fGrammarResolver->getStringPool();
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org