Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: RE: RE: XML::Simple

by htoug (Deacon)
on Oct 02, 2001 at 13:05 UTC ( #116082=note: print w/ replies, xml ) Need Help??


in reply to RE: RE: XML::Simple
in thread XML::Simple

expat can be a pain.

It does not compile on Tru64 (Digital^WCompaq^WHP Unix on alpha), so effectively you cannot process XML with perl on Tru64.

Update: On Tru64 gcc is not recommended, the vendor delivers a C-compiler that is better than gcc. Perl is almost invariably compiled with the vendor suplied compiler (which is a bit pickier than gcc in adhering to standards and error checking). Thus some^Wtoo many OS projects are unavailable on Tru64 - but this is getting a bit OT.

XML::Parser 2.29 and earlier were supplied with a version of expat that compiles almost as many places as Perl, I have hung on to that version ;-)


Comment on Re: RE: RE: XML::Simple
Re: Re: RE: RE: XML::Simple
by mirod (Canon) on Oct 02, 2001 at 13:58 UTC

    Fear no more htoug, there are several ways to process XML without expat:

    XML::Parser::Lite, included in Paul Kulchenko's Soap::Lite, is a pure Perl XML Parser that emulates XML::Parser. It requires Perl 5.6.0 at least.

    Matt Sergeant is working on a pure Perl parser: XML::SAX::PurePerl. It is in alpha stage and requires bleadperl (does bleadperl compile on Tru64?).

    You can also try XML::LibXML for a parser that's not based on Expat (but on the Gnome XML library libxml2) and that should compile on most platform with gcc.

    Of course all XML::Parser based modules won't work then, but SAX based ones will.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2014-07-23 12:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (140 votes), past polls