Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: XMLin error while parsing

by moritz (Cardinal)
on Aug 26, 2008 at 08:33 UTC ( #706840=note: print w/replies, xml ) Need Help??


in reply to XMLin error while parsing

It probably means that your data file isn't valid XML, and that a tag is closed by a different tag, something like
<foo></bar>

Replies are listed 'Best First'.
Re^2: XMLin error while parsing
by Anonymous Monk on Oct 13, 2010 at 14:27 UTC
    I've found that problem is related with SAX library, I have solved just telling XML::Simple to use another XML library to parse the XML, using the following line:

    $XML::Simple::PREFERRED_PARSER='XML::Parser';

    You will need the XML::Parser library, but it's usually installed when install XML::Simple.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2019-02-21 06:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I use postfix dereferencing ...









    Results (109 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!