Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Using the XML::Parser Module

by Aristotle (Chancellor)
on Nov 02, 2005 at 14:40 UTC ( [id://504939]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Using the XML::Parser Module
in thread Using the XML::Parser Module

I always think of you and cringe a little when I recommend against your module. You did a really admirable job of building something actually usable onto XML::Parser, and for a long time XML::Twig was my indeed favourite. It’s just that expat and XML::Parser really needed that work to be turned into something sane, whereas XML::LibXML is sane to begin with. Sorry. :-) :-(

Re: XPath support: thanks for the pointer; noted.

Makeshifts last the longest.

Replies are listed 'Best First'.
Re^4: Using the XML::Parser Module
by mirod (Canon) on Nov 02, 2005 at 15:48 UTC

    Agreed, I am not sure expat is that bad, but indeed XML::Parser is a royal pain to deal with, especially when trying to be compatible with various versions.

    If I had started writing XML::Twig a little later, I would probably would have written it using SAX, and I would have been able to change the parser. As it is, SAX was very new at the time, all other modules were built on top of XML::Parser, so I went with that, and then it got so entangled with XML::Parser's quirks that decoupling them would be real hard now.

    Oh, and don't feel bad advocating XML::LibXML, it is indeed a very fine module.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://504939]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-26 00:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found