From 503b610af2f75a9fe71d620d79c5a253cc005caa Mon Sep 17 00:00:00 2001 From: "William M. Brack" Date: Thu, 19 Aug 2004 02:17:27 +0000 Subject: [PATCH] fixed missing line numbers on entity as reported on the list by Steve * parser.c: fixed missing line numbers on entity as reported on the list by Steve Cheng --- ChangeLog | 5 +++++ parser.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4dbae76b..d334f897 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Aug 18 19:15:27 PDT 2004 William Brack + + * parser.c: fixed missing line numbers on entity as reported + on the list by Steve Cheng + Wed Aug 18 14:04:31 PDT 2004 William Brack * configure.in globals.c include/libxml/xmlversion.h.in diff --git a/parser.c b/parser.c index f0198c68..c01c9de5 100644 --- a/parser.c +++ b/parser.c @@ -10382,6 +10382,7 @@ xmlParseCtxtExternalEntity(xmlParserCtxtPtr ctx, const xmlChar *URL, ctxt->dictNames = ctx->dictNames; ctxt->attsDefault = ctx->attsDefault; ctxt->attsSpecial = ctx->attsSpecial; + ctxt->linenumbers = ctx->linenumbers; xmlParseContent(ctxt);