in reply to Installing XML::Simple - default SAX parser

You have Expat, and you have LibXML, but do you have XML::SAX::Expat, or do you have whatever may be the equivalent for LibXML? That is/would be an interface layer between the two modules, XML::SAX, and the other one as driver.

Looking over CPAN, I can't seem to find one for LibXML, but apparently XML::LibXML comes with its own SAX parser: XML::LibXML::SAX.

  • Comment on Re: Installing XML::Simple - default SAX parser

Replies are listed 'Best First'.
Re^2: Installing XML::Simple - default SAX parser
by Sixtease (Friar) on Apr 01, 2007 at 11:38 UTC
    Yes, I meant I had XML::SAX::Expat and XML::LibXML::SAX, I should have been more precise.
      Did you run XML::SAX->add_parser, followed by XML::SAX->save_parsers? After that, the newly installed parser(s) should be known permanently.

      By the look of the sourcecode, you must have write access to the directory that the module XML::SAX is installed in. I'd actually expect this to be run while the driver module is being installed.