GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit 7fe1f3a5 authored by Daniel Veillard's avatar Daniel Veillard

one more fixup of error message reporting Daniel

* relaxng.c: one more fixup of error message reporting
Daniel
parent 5f1946ad
Tue Apr 1 00:12:28 CEST 2003 Daniel Veillard <daniel@veillard.com>
* relaxng.c: one more fixup of error message reporting
Mon Mar 31 18:36:32 CEST 2003 Daniel Veillard <daniel@veillard.com>
* relaxng.c: more work on bug #109225, and fixed an uninitialized
......
......@@ -8317,7 +8317,14 @@ xmlRelaxNGValidateState(xmlRelaxNGValidCtxtPtr ctxt,
tmp = xmlRelaxNGValidateDefinitionList(ctxt, define->content);
if (tmp != 0) {
ret = -1;
VALID_ERR2(XML_RELAXNG_ERR_CONTENTVALID, node->name);
if (ctxt->state == NULL) {
ctxt->state = oldstate;
VALID_ERR2(XML_RELAXNG_ERR_CONTENTVALID, node->name);
ctxt->state = NULL;
} else {
VALID_ERR2(XML_RELAXNG_ERR_CONTENTVALID, node->name);
}
}
}
if (ctxt->states != 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