Skip Menu |

This queue is for tickets about the XML-LibXML CPAN distribution.

Report information
The Basics
Id: 118857
Status: new
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: jidanni [...] jidanni.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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.
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.