Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Why XML not well formed?

by davorg (Chancellor)
on Jun 30, 2005 at 15:54 UTC ( [id://471376]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Why XML not well formed?
in thread Why XML not well formed?

If you are being passed data that contains a raw '&' character that hasn't been converted to '&' then you aren't being passed valid XML and no XML parser will be able to deal with it.

You should ask your data provider to fix their processes so that they _do_ sent you valid XML.

--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

Replies are listed 'Best First'.
Re^4: Why XML not well formed?
by nan (Novice) on Jul 06, 2005 at 17:01 UTC

    Dave and guys,

    I finally found the problem, it's not only '&' but also '<' and '"'. I don't know how many of these characters left and I'm still keep looking as the original data is about 300MB.

    Thanks all for your tolerant help! Nan

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-03-28 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found