Commit 53b5e052 authored by Kasimier T. Buchcik's avatar Kasimier T. Buchcik
Browse files

Fixed call to a facet error report: the type of the error was wrong,

* xmlschemas.c: Fixed call to a facet error report: the type of
  the error was wrong, resulting in a segfault (bug #171220, reported
  by GUY Fabrice).
parent a62f75f1
Thu Mar 24 12:01:30 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Fixed call to a facet error report: the type of
the error was wrong, resulting in a segfault (bug #171220, reported
by GUY Fabrice).
Mon Mar 21 22:58:37 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
 
* xmlschemas.c: Removed a stupid bug in xmlSchemaValidateAttributes,
......
......@@ -15660,7 +15660,7 @@ xmlSchemaValidateFacetsInternal(xmlSchemaValidCtxtPtr ctxt,
tmpType = tmpType->baseType;
} while ((tmpType != NULL) && (tmpType->type != XML_SCHEMA_TYPE_BASIC));
if (retFacet > 0) {
ret = XML_SCHEMAV_CVC_PATTERN_VALID;
ret = XML_SCHEMAV_CVC_ENUMERATION_VALID;
if (fireErrors) {
xmlSchemaVFacetErr(ctxt, ret, node, value, 0, type, NULL,
NULL, NULL, NULL, NULL);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment