News for hackers. Stuff that matters.
Re:A brief XML rant by gav on Monday March 04, 2013 @09:54AM (#5318431)
Outside of a few special cases (such as wanting to make embedded content in XML human editable) CDATA should be treated as a big warning flag that the author of the code that generated the XML doesn't really understand what they are doing.

There's always the issue that one day ']]>' will somehow sneak in and everything will break.

The key is using a tool to generate the XML that will transparently handle things like escaping correctly instead of using templating tools designed for text or HTML output.

Re:A brief XML rant by mnarayan01 on Monday March 04, 2013 @10:13AM (#5318532)
I'm not sure making "XML human editable" should really be considered a special case.