mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-17 18:21:05 +03:00
fixes bug #105998 about false detection of attribute consumption loop.
* parser.c: fixes bug #105998 about false detection of attribute consumption loop. Daniel
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Mon Feb 24 20:12:57 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
|
* parser.c: fixes bug #105998 about false detection of
|
||||||
|
attribute consumption loop.
|
||||||
|
|
||||||
Mon Feb 24 19:14:57 CET 2003 Daniel Veillard <daniel@veillard.com>
|
Mon Feb 24 19:14:57 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* xinclude.c: Fixes bug #106931 in XInclude entities merging.
|
* xinclude.c: Fixes bug #106931 in XInclude entities merging.
|
||||||
|
3
parser.c
3
parser.c
@ -6727,7 +6727,8 @@ failed:
|
|||||||
if (ctxt->recovery == 0) ctxt->disableSAX = 1;
|
if (ctxt->recovery == 0) ctxt->disableSAX = 1;
|
||||||
}
|
}
|
||||||
SKIP_BLANKS;
|
SKIP_BLANKS;
|
||||||
if ((cons == ctxt->input->consumed) && (q == CUR_PTR)) {
|
if ((cons == ctxt->input->consumed) && (q == CUR_PTR) &&
|
||||||
|
(attname == NULL) && (attvalue == NULL)) {
|
||||||
ctxt->errNo = XML_ERR_INTERNAL_ERROR;
|
ctxt->errNo = XML_ERR_INTERNAL_ERROR;
|
||||||
if ((ctxt->sax != NULL) && (ctxt->sax->error != NULL))
|
if ((ctxt->sax != NULL) && (ctxt->sax->error != NULL))
|
||||||
ctxt->sax->error(ctxt->userData,
|
ctxt->sax->error(ctxt->userData,
|
||||||
|
Reference in New Issue
Block a user