Re: Issue in parsing xml

Aleix Conchillo Flaqué <[email protected]> Fri, 30 Oct 2009 16:45:25 +0100
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
On Fri, Oct 30, 2009 at 14:22, Sivaprasad Boddu
<[email protected]> wrote:
> Hi,
>
>   This is Siva Prasad.I'm developing a c++ project in which I use Expat XML parser to parse.
>
>   While parsing XML which consists Special characters inside tag like <val>jkghtu&rur</val>,there is problem.The value is not get parsed completely,only the values till "&" is returned by the parser as "jkghtu".
>
>   Is there any issue with Expat (to parse Special characters inside XML) or am I missing anything?
>
>  Please clarify me.
>

& must not be used literally, it must be escaped, see:

http://www.w3.org/TR/REC-xml/#syntax
http://www.w3.org/TR/REC-xml/#dt-escape
_______________________________________________
Expat-discuss mailing list
[email protected]
http://mail.libexpat.org/mailman/listinfo/expat-discuss