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

Jonas Smedegaard dr at jones.dk
Fri May 30 15:58:42 UTC 2014


Quoting Daniel Lintott (2014-05-30 17:49:35)
> 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.

I'd say don't package until someone expresses a real need for it.

...as for the bugreport, I'd say keep it open: The bug is real but also 
not severe (i.e. minor as correctly set originally).

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20140530/e7be7ef4/attachment-0001.sig>


More information about the pkg-perl-maintainers mailing list