[Standards] <[CDATA[ in XMPP

Rachel Blackman rcb at ceruleanstudios.com
Mon Jul 30 19:42:39 UTC 2007

On Jul 30, 2007, at 12:35 PM, Peter Saint-Andre wrote:

> Sergei Golovan wrote:
>> Hi!
>> Today I've found some interesting commits in ejabberd SVN. It became
>> using <[CDATA[ in XML output generation.
>> Is this acceptable according to RFC or no? I can't find any reference
>> in RFC-3920 except the phrase that character data containing any
>> predefined entity must be escaped.
> RFC 3920 does not forbid CDATA sections. Neither does rfc3920bis. I
> don't know whether that's good or bad. Probably it's not especially  
> good...

+1 on the 'not good.'  It makes parsing a whooooole lot less straight- 

Rachel Blackman <rcb at ceruleanstudios.com>
Trillian Messenger - http://www.trillianastra.com/

More information about the Standards mailing list