Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: XMLin error while parsing

by moritz (Cardinal)
on Aug 26, 2008 at 08:33 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://706840]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2025-05-22 23:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.