Re: Perl XML::Parser failing tests
mirod <[email protected]>
| Newsgroups | gmane.comp.lang.perl.xml |
|---|---|
| Message-ID | <[email protected]> |
Robin Berjon wrote: > On Mar 22, 2010, at 23:39 , Jenda Krynicky wrote: >> I also know that XML::Twig, which is a fairly popular module is still based >> on XML::Parser, XML::Rules still uses XML::Parser::Expat, XML::Simple can >> use both XML::Parser and some SAX2 parser, ... > > Hmmm, I thought Michel had updated Twig not to require XML::Parser anymore > but it seems that I was wrong. Michel: is there anything specific that you > get only from XML::Parser that you need? I must say I'm surprised something > newer like XML::Rules is using the old interface! There is little point (and a lot of work!) in removing XML::Twig's dependency on XML::Parser. >> SAX itself has a plethora of modules, not based on a SAX parser, but >> actually being a SAX parser which confuses the issue. > > I'm sorry, I'm not sure what you mean here :) > >> Shame there is no statistics about the usage of modules, I would really >> like to know what actually is the usage of XML::Parser/expat versus >> SAX/(libxml or whatever). Though I do bet there will be a lot more new, >> single user, modules built on top of the newest and greatest SAX2. > > My bet is that for the most part people are using XML::LibXML (but not the > SAX bits). My impression, based on talking to people, following the main perl forums and generally whatever gets written anywhere about XML::Twig, is that serious people that do XML for a living, use XML::LibXML. The rest, people who need to Get-Shit-Done, use whatever, mostly XML::Simple. XML::Twig niche would be serious people who don't specialize in XML, people who batch process huge amounts of data plus a decent number of very enthusiastic users who just like the interface. There also seems to be a surprising amount of questions on various forums about XML::XPath and XML::DOM. There is also a fair number of answers with XML::Rules based solutions (mostly from a single poster ;--) although I have no idea how many people actually use it (not that I have any idea about the others mind you, I should generate a graph though). Stackoverflow tags, around page 488 at the moment, shows 11 questions tagged xmlsimple or xml-simple, 2 for xml-dom and 8 for xml-twig. Estimating the amount of XML::LibXML questions is more tricky because there was no xml-libxml tag, so I created it, feel free to tag questions appropriately (I have no doubt that an xml-rules tag will also soon be available ;--) A quick search on perl and libxml shows that there are maybe 20 or 30 of them. In short, I understand that Robin doesn't like XML::Parser (and he knows I don't like SAX!), but it is still useful, and it should still be maintained. -- mirod _______________________________________________ Perl-XML mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs