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/09/16 22:37:08 UTC
cvs commit: xml-xerces/c/src/xercesc/validators/schema SchemaValidator.cpp
tng 2002/09/16 13:37:08
Modified: c/src/xercesc/validators/schema SchemaValidator.cpp
Log:
Infinite loop for malformed xml (e.g. simple has "XXXX") w/ setexitonfirstfatal(false).
Revision Changes Path
1.15 +4 -1 xml-xerces/c/src/xercesc/validators/schema/SchemaValidator.cpp
Index: SchemaValidator.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/schema/SchemaValidator.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- SchemaValidator.cpp 4 Sep 2002 18:17:41 -0000 1.14
+++ SchemaValidator.cpp 16 Sep 2002 20:37:08 -0000 1.15
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.15 2002/09/16 20:37:08 tng
+ * Infinite loop for malformed xml (e.g. simple has "XXXX") w/ setexitonfirstfatal(false).
+ *
* Revision 1.14 2002/09/04 18:17:41 tng
* Do not set IDREF to used during prevalidation.
*
@@ -810,7 +813,7 @@
seenId = true;
}
- else if (curAttDef.getType() == XMLAttDef::Notation)
+ else if (curAttDef.getType() == XMLAttDef::Notation && curAttDef.getEnumeration())
{
//
// We need to verify that all of its possible values
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org