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

Owner: Nobody in particular
Requestors: jidanni [...]

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 [...]
From: 積丹尼 Dan Jacobson <jidanni [...]>
Download (untitled) / with headers
text/plain 222b
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: [ #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 [...]>
From: 積丹尼 Dan Jacobson <jidanni [...]>
Download (untitled) / with headers
text/plain 275b
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.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to