TOMÁŠ HUBÁLEK BLOG: BAVTE SE PŘIMĚŘENĚ…

XML: CDATA section cannot contain any character!

I work with XML a few years but now I was surprised that CDATA section cannot contain any character. I found document that contains ASCII char 27 (Escape) in CDATA section and parsing of this document failed with exception: org.dom4j.DocumentException: Error on line 38508 of document file:///…/rm_N444148061030074509.xml : An invalid XML character (Unicode: 0x1b) was […]

Read the rest of this entry »