Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Perl Only XML Parser?

by mirod (Canon)
on Aug 17, 2004 at 13:50 UTC ( #383663=note: print w/replies, xml ) Need Help??

in reply to Perl Only XML Parser?

The perl-only XML parsers I have looked at are:

  • XML::SAX::PurePerl, included in XML::SAX, which can be used by all the SAX based modules, including XML::Simple. It works reasonably well, but will not process external entities.
  • XML::Parser::Lite, included in SOAP::Lite, which emulates the XML::Parser interface. It only parses the subset of XML used by SOAP though (eg no DTD)
  • XML::Stream::Parser, included in XML::Stream, which only parses the subset of XML used in Jabber messages.

As you see none of them is a complete XML parser, so you might want to check if they work for the kind of XML you have to deal with (and for the kind of XML that you might have to deal with in the future!).

2 other comments: some of the XML modules are based on libxml2 instead of expat (XML::LibXML for example). And I don't know about AIX, but at least for Solaris you can get expat as a pre-compiled package.

Replies are listed 'Best First'.
Re^2: Perl Only XML Parser?
by mce (Curate) on Aug 17, 2004 at 14:19 UTC
    For AIX, you can go here, or sometimes there

    Dr. Mark Ceulemans
    Senior Consultant
    BMC, Belgium

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://383663]
[stevieb]: it's a long day when you want to make changes to a project and the entire test suite takes 2 hours to fully run :)
choroba knows the situation. At work, unit tests run for 30 minutes, and integration and end-to-end tests take almost one hour.

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2017-03-26 22:02 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (315 votes). Check out past polls.