From 7ec29978bed182465cae9e58200d14073f173506 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Fri, 31 Oct 2003 14:36:36 +0000 Subject: always generate line numbers Daniel * parser.c: always generate line numbers Daniel --- ChangeLog | 4 ++++ parser.c | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 566330fa..be8b45e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Oct 31 15:35:20 CET 2003 Daniel Veillard + + * parser.c: always generate line numbers + Fri Oct 31 11:53:46 CET 2003 Daniel Veillard * parser.c: fixed another regression introduced in fixing #125823 diff --git a/parser.c b/parser.c index ad398e38..7680e3a5 100644 --- a/parser.c +++ b/parser.c @@ -12385,6 +12385,7 @@ xmlCtxtUseOptions(xmlParserCtxtPtr ctxt, int options) ctxt->options |= XML_PARSE_NSCLEAN; options -= XML_PARSE_NSCLEAN; } + ctxt->linenumbers = 1; return (options); } -- cgit v1.2.1