On 12 October 2013 02:22, Field Tian (fitian) <[email protected]> wrote:
> Yea, cdata is a traditional way in XML. XMPP seems not prefer CDATA. I don’t 
> know what's the detailed reason. But I think CDATA has its advantage 
> sometimes.

Some discussion on it from 2007:
http://mail.jabber.org/pipermail/standards/2007-July/016098.html

The specs have never been clear on cdata. By not forbidding it (things
like processing instructions are explicitly forbidden), it's
implicitly allowed. But I have strong doubts that many XMPP
implementations handle it properly, and nobody generates them for this
reason. Maybe it's time to do some testing, and get some hard facts :)

Regards,
Matthew

Reply via email to