in reply to Re: XML::Simple error
in thread XML::Simple error

XML::SAX::ParserFactory and XML::SAX::PurePerl are installed
I tried to set the parser to XML::Parser, but I still get a similar error:
Error executing class callback in init stage: not well-formed (invalid token) at line 11, column 40, byte 458 at /ho +me/domains/zave/perl/lib/site_perl/5.8.7/i686-linux/XML/Parser.pm lin +e 187
It must be something I did, but I don't know what and how to solve it.

Replies are listed 'Best First'.
Re^3: XML::Simple error
by lima1 (Curate) on Mar 16, 2006 at 10:44 UTC
    did you change the xml file? this error msg sounds like malformed xml.
      Nop, it looks like this
      <?xml version="1.0" encoding="ISO-8859-1"?> <config> <language>SE</language> </config>
        The error message said "(invalid token) at line 11, column 40, byte 458", but your XML is only 4 lines long and less than 100 bytes? Something is not as you think it is.