News for hackers. Stuff that matters.
Re:Why is JSON so popular? Developers want out of the syntax... by pushingbits on Thursday June 23, 2011 @11:46AM (#2688273)
I've seen CDATA elements that contained complete XML documents including other CDATA elements. Good thing they had a hand rolled non-standard XML parser that allowed nested CDATA tags.

I noticed it when I wanted to read the doc in with tinyXML while working 70 hour weeks to fix up some other issue before a deadline. I ended up doing a memset(nestedXMLStart, ' ', nestedXMLLength) as a preprocessing step to bulldoze the whole construct. Not pretty, but it worked.

There are no comments on this comment yet.