On Sun, Nov 04, 2018 at 04:48:43AM +0800, 積丹尼 Dan Jacobson wrote:
> Package: libxml-libxml-perl
> Version: 2.0132+dfsg-2+b1
> Severity: minor
> 
> Line numbers not printed on error despite XML_LIBXML_LINENUMBERS => 1:
> $ cat e.pl
> use XML::LibXML;
> my $doc = XML::LibXML::Document->new( XML_LIBXML_LINENUMBERS => 1 );
> my $x = $doc->createElement('x');
> $x->appendChild($x);
> $ perl -w e.pl
> appendChild: HIERARCHY_REQUEST_ERR

Not sure what you expected to get, the offending line in the code
perhaps?

It looks to me like this feature is about reporting line numbers
in parsed XML documents, and you're not parsing anything.
-- 
Niko Tyni   [email protected]

Reply via email to