Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
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 11:54 UTC ( [id://471376]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 13: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
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.