Sun Nov 20 19:13:31 2016jidanni [...] jidanni.org - Ticket created
Subject:
mention byte / line numbers on parser errors
Date:
Mon, 21 Nov 2016 08:13:16 +0800
To:
bug-XML-LibXML [...] rt.cpan.org
From:
積丹尼 Dan Jacobson <jidanni [...] jidanni.org>
Show quoted text
> HTML parser error : Unexpected end tag : p
> </p>
Good to know, but it may be fathoms deep in the input.
Therefore please also have the error message mention
what nearby byte, line, etc. the error was found at. Thanks.
Sun Nov 20 20:41:21 2016jidanni [...] jidanni.org - Correspondence added
Subject:
[rt.cpan.org #118857] line numbers in error messages are on for XML, but off for HTML
Date:
Mon, 21 Nov 2016 09:41:05 +0800
To:
"Bugs in XML-LibXML via RT" <bug-XML-LibXML [...] rt.cpan.org>
From:
積丹尼 Dan Jacobson <jidanni [...] jidanni.org>
One notices the line numbers are on for
load_xml($string),
:81: parser error : Specification mandate value for attribute data-truncate
data-truncate-more="[+] Read More"
but off for parse_html_string($string).
I didn't fiddle with the line_numbers option.