Michael Glavassevich wrote:
The sequence "]]>" [1] cannot appear in character data. You should escape the ">" with >.

Actually, escaping it wouldn't do any good because the string ">" would be passed out, which is probably not intended. In short, CDATA sections shouldn't be used if you need to include the string "]]>" in your XML document.

But Jeff Greif has the keen eye on this one. He correctly
noticed that the start delimiter of the CDATA section is wrong.

However, Radhakrishnan J should take special care if he is
going to use CDATA sections to embed documents inside of the
main XML document. If the embedded document contains a CDATA
section (or even just the text "]]>"), then it will produce
a document that is not well-formed.

[1] http://www.w3.org/TR/2004/REC-xml-20040204/#NT-CharData
--
Andy Clark * [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to