mirror of
https://github.com/GNOME/libxml2.git
synced 2025-03-19 18:50:25 +08:00
one more fixup of error message reporting Daniel
* relaxng.c: one more fixup of error message reporting Daniel
This commit is contained in:
parent
5f1946ad7c
commit
7fe1f3a502
@ -1,3 +1,7 @@
|
||||
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user