[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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

Attachment: signature.asc
Description: signature


Reply to: