From 02111c1d56ffd0475c8c4acdeb8e00ea8d7b221c Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Mon, 24 Feb 2003 19:14:52 +0000 Subject: [PATCH] fixes bug #105998 about false detection of attribute consumption loop. * parser.c: fixes bug #105998 about false detection of attribute consumption loop. Daniel --- ChangeLog | 5 +++++ parser.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 53780c8a..04243ff3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Feb 24 20:12:57 CET 2003 Daniel Veillard + + * parser.c: fixes bug #105998 about false detection of + attribute consumption loop. + Mon Feb 24 19:14:57 CET 2003 Daniel Veillard * xinclude.c: Fixes bug #106931 in XInclude entities merging. diff --git a/parser.c b/parser.c index ce67e54c..ba9327ce 100644 --- a/parser.c +++ b/parser.c @@ -6727,7 +6727,8 @@ failed: if (ctxt->recovery == 0) ctxt->disableSAX = 1; } 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; if ((ctxt->sax != NULL) && (ctxt->sax->error != NULL)) ctxt->sax->error(ctxt->userData,