Bug#734123: libhtml-html5-parser-perl: suggests libxml-libxml-devel-setlinenumber-perl, which doesn't exist

Daniel Lintott daniel at serverb.co.uk
Fri May 30 15:49:35 UTC 2014


With regards to bug #734123, what is the groups' feeling on packaging
libxml-libxml-devel-setlinenumber-perl given the following on the
metacpan page[0]:

> DESCRIPTION
> 
> This module exports one function:
> 
> set_line_number($node, $number)
> 
>     Sets a node's line number.
> 
> Why in name of all that is good and holy would you want to do that? Frankly, you probably don't. And you probably shouldn't.
> 
> There's just about one sitution where it makes sense. If you are, say, writing a parser for a non-XML format that happens to have an XML-like data model, then you might wish to parse your format into an XML::LibXML document with elements, attributes and so on. And you might want all those nodes to return the correct line numbers when the line_number method is called on them. Say, for instance that you're working on HTML::HTML5::Parser.
> THIS MODULE IS WELL DODGY
> 
> And you're a fool if you use it.

[0] https://metacpan.org/pod/XML::LibXML::Devel::SetLineNumber

-- 
Daniel Lintott
GPG Key: 4096R/5D73EC6E

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20140530/e7af3119/attachment.sig>


More information about the pkg-perl-maintainers mailing list