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.