skybert's Blog

skybert's Avatar Image
Coder of systems, lover of languages, follower of Christ. 台灣女婿
← All posts

XOM’s Serializer doesn’t preserve CDATA sections.

I’m using it similar to:

Running it on XML like:

<foo><bar><![CDATA[1 > 2

Doesn’t preserve the whitespace within the CDATA section.

Am I missing something obvious here?

#java #xml

To like or reply, open original post on