mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
warning message cleanup. Now compiles warning-free, all tests passed.
* xmlschemas.c, xmlschemastypes.c: warning message cleanup. Now compiles warning-free, all tests passed. * SAX2.c: small change to comments for documentation. No change to logic.
This commit is contained in:
@ -7304,6 +7304,7 @@ xmlSchemaCheckCOSSTRestricts(xmlSchemaParserCtxtPtr ctxt,
|
||||
"Atomic simple type \"%s\": the facet \"%s\" "
|
||||
"is not allowed on primitive type \"%s\".\n",
|
||||
type->name,
|
||||
(const xmlChar *)
|
||||
xmlSchemaFacetTypeToString(facet->type),
|
||||
BAD_CAST primitive->name, NULL, NULL);
|
||||
|
||||
@ -9804,21 +9805,22 @@ xmlSchemaValidateSimpleTypeValue(xmlSchemaValidCtxtPtr ctxt,
|
||||
xmlSchemaVErr(ctxt, ctxt->cur, ret,
|
||||
"The value with length \"%s\" is not "
|
||||
"facet-valid with respect to length = \"%s\".\n",
|
||||
l, fl);
|
||||
(const xmlChar *)l, (const xmlChar *)fl);
|
||||
} else if (ret == XML_SCHEMAV_CVC_MINLENGTH_VALID) {
|
||||
xmlSchemaVErr(ctxt, ctxt->cur, ret,
|
||||
"The value with length \"%s\" is not "
|
||||
"facet-valid with respect to minLength = \"%s\".\n",
|
||||
l, fl);
|
||||
(const xmlChar *)l, (const xmlChar *)fl);
|
||||
} else if (ret == XML_SCHEMAV_CVC_MAXLENGTH_VALID) {
|
||||
xmlSchemaVErr(ctxt, ctxt->cur, ret,
|
||||
"The value with length \"%s\" is not "
|
||||
"facet-valid with respect to maxLength = \"%s\".\n",
|
||||
l, fl);
|
||||
(const xmlChar *)l, (const xmlChar *)fl);
|
||||
} else {
|
||||
xmlSchemaVErr(ctxt, ctxt->cur, ret,
|
||||
"The value is not valid with respect "
|
||||
"to the facet \"%s\".\n",
|
||||
(const xmlChar *)
|
||||
xmlSchemaFacetTypeToString(facet->type),
|
||||
NULL);
|
||||
}
|
||||
|
Reference in New Issue
Block a user