mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-25 23:21:26 +03:00
a couple of errors were reported but not saved back as such in the parsing
* parser.c valid.c: a couple of errors were reported but not saved back as such in the parsing context. Down to 1% failure rate Ran 1819 tests: 1801 suceeded, 18 failed and 0 generated an error Daniel
This commit is contained in:
parent
4a7ae50350
commit
d01fd3ed1f
@ -1,3 +1,9 @@
|
||||
Mon Feb 18 23:25:08 CET 2002 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* parser.c valid.c: a couple of errors were reported but not
|
||||
saved back as such in the parsing context. Down to 1% failure rate
|
||||
Ran 1819 tests: 1801 suceeded, 18 failed and 0 generated an error
|
||||
|
||||
Mon Feb 18 20:16:15 CET 2002 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* xmlInternald.c: isExtender was missing a char
|
||||
|
2
parser.c
2
parser.c
@ -5515,12 +5515,14 @@ xmlParseEntityRef(xmlParserCtxtPtr ctxt) {
|
||||
ctxt->sax->error(ctxt->userData,
|
||||
"Entity '%s' not defined\n", name);
|
||||
ctxt->wellFormed = 0;
|
||||
ctxt->valid = 0;
|
||||
ctxt->disableSAX = 1;
|
||||
} else {
|
||||
ctxt->errNo = XML_WAR_UNDECLARED_ENTITY;
|
||||
if ((ctxt->sax != NULL) && (ctxt->sax->error != NULL))
|
||||
ctxt->sax->error(ctxt->userData,
|
||||
"Entity '%s' not defined\n", name);
|
||||
ctxt->valid = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user