[Expat-bugs] Bug parsing embedded xml?
Key88 SF
key88sf at hotmail.com
Thu Feb 13 06:57:01 EST 2003
I'm wondering if the following is a bug. I am trying to parse an XML file
that has, as the value for a tag, another XML string which is encoded via
HTML-type >, etc.
When expat encounters this tag, it doesn't pass the entire html-encoded text
as the value to my XML_SetCharacterDataHandler function. Instead, it passes
every encoded '<' character, '>' character, and the text in between. Is
this a bug??
The xml I am trying to process looks like below:
(NOTE: Also attached as a zip file in case email programs try to re-encode
it).
<invoke><UpdateMedia><pMediaXML><MuseMediaCollection
xmlns="http://www.mediacode.com/muse.net/ClientService/MuseMediaUpdate"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><MuseMedia
xmlns=""><OldPath>2/Aerosmith%20-%20Dream%20On.mp3</OldPath><Creator
xmlns="http://www.mediacode.com/muse.net/ClientService/MuseMediaUpdate">mycreator</Creator><Title
xmlns="http://www.mediacode.com/muse.net/ClientService/MuseMediaUpdate">My
Title</Title><Audio
xmlns="http://www.mediacode.com/muse.net/ClientService/MuseMediaUpdate"><TrackNumber>999</TrackNumber><Album>My
Album</Album><Date>2003-03-03</Date><Comment>This is
my
comment</Comment></Audio></MuseMedia></MuseMediaCollection></pMediaXML></UpdateMedia></invoke>
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pcp.zip
Type: application/x-zip-compressed
Size: 437 bytes
Desc: not available
Url : http://mail.libexpat.org/pipermail/expat-bugs/attachments/20030213/23b5f567/pcp.bin
More information about the Expat-bugs
mailing list