[Expat-discuss] question about [ and ] inside CDATA tags
Mike Ostman
mostman at gmail.com
Tue Jan 24 20:20:43 CET 2006
(Sent this message to the bugs list first - that was probably the
wrong place. Sorry for the resend)
I am trying to specify a CDATA element where the data has hard
brackets. Specifically - here is my example:
<name><![CDATA[$group[name]]]></name>
First - this is legal - correct? I opened the file in some XML
editors and it seemed to parse just fine.
When I parsed this with expat - all I get back in my CDATA handler is
"]" (The closing hard bracket)
Has anyone else noticed this?
Thank you in advance-
-Mike
More information about the Expat-discuss
mailing list