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

Re: Jabber XMPP and XML::Simple conflict

by bmann (Priest)
on Aug 17, 2005 at 19:08 UTC ( [id://484538]=note: print w/replies, xml ) Need Help??


in reply to Jabber XMPP and XML::Simple conflict

XML::Simple uses a SAX parser by default, if available. I found that exact error message in XML::SAX::Expat::Incremental.

Try setting PREFERRED_PARSER, ie:

$XML::Simple::PREFERRED_PARSER = 'XML::Parser';
to prevent XML::Simple from using SAX, see if that clears it up...

Replies are listed 'Best First'.
Re^2: Jabber XMPP and XML::Simple conflict
by BaldPenguin (Friar) on Aug 17, 2005 at 19:16 UTC
    That was the answer, thank you!

    Don
    WHITEPAGES.COM | INC
    Everything I've learned in life can be summed up in a small perl script!

      The most recent version of XML::SAX::Expat::Incremental does not register itself in XML/SAX/ParserDetails.ini. If you edit that file and remove the offending section then XML::Simple will work with SAX parsers too.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-04-19 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found