NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
People need to know... (Score:2)
Re: (Score:2)
As for "It's ... a tag-soup parser" - yes, well done, you spotted that it is a non-validating XML module. I know this may come as a shock, but such things are actually use
Re:People need to know... (Score:2)
You're entirely missing the point. This is not about being a subset of the functionality or anything, this is not an XML parser. The problem is not about validation -- no one sane cares about that -- the problem is about well-formedness. There is a lot of perfectly good XML out there that this thing won't parse, and there is a lot of completely wrong XML that it won't flag as such.
If you want to write and release a parser for "vague stuff that has angle brackets in it" and find it useful that's wonderful and by all means go ahead, just don't for a single second delude yourself that you've written an XML parser. Or if you must insist on deluding yourself, please be so kind as to not chance dragging others down in your misunderstanding by releasing it in the XML:: space. It has absolutely nothing to do there. Please move it.
-- Robin Berjon [berjon.com]
Reply to This
Parent
Re: (Score:2, Insightful)
YAML::Tiny [cpan.org] does not support the entire YAML specification.
Config::Tiny [cpan.org] does not support some elements of the Windows
Taken literally, CSS::Tiny is not a CSS parser, YAML::Tiny is not a YAML parser and Config::Tiny is not a Windows
In exchange for sacrificing some completeness and correctness,
Re: (Score:1)
I think people instead are complaining that it's missing the XML:: part of the distribution name.
Re: (Score:2)
Personally, I have a considerably higher opinion of the users than that.
Re: (Score:1)
Well if that's all it is,
XML::Tinierought to be a breeze to write, and I guarantee that it'll have even less code.Re: (Score:1)
Re: (Score:1)
Good point. Maybe I'll call it DBI::Tiny instead.
Re: (Score:1)
(And of course DBI is a reserved namespace)
Re: (Score:2)
I don't think that users are too stupid to read the documentation, but I do think that they will tend to believe it when they read it, and unfortunately it is misleading, as explained in http://use.perl.org/comments.pl?sid=34409&cid=52943 [perl.org], and will waste their time. That's not playing nice.
-- Robin Berjon [berjon.com]
Re: (Score:1)
Re: (Score:2)
Re: (Score:2)
As I said, if people find this sort of thing useful, let them have it, I have no issue with that. Just don't call it XML. It's not. NotXML::Tiny or TagParser::Tiny would be fine. Furthermore the documentation is extremely misleading in that it claims to support a subset of XML -- that is not the case. It would support a subset of XML if every document it understood could also be successfully parsed by an XML parser, but didn't support some things that an XML parser would report. As it is, it supports all
-- Robin Berjon [berjon.com]
Re: (Score:2)
If you were to bother to tell me *what* it su
Re: (Score:2)
Re: (Score:1)
Re: (Score:1)