Test of normalize on an XML document with CDATA.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Before normalize
PASS serializer.serializeToString(xmlChunk) is "This is some text before the CDATAmarkup inside of a CDATA]]>This is some text after the CDATA"
PASS xmlChunk.documentElement.childNodes.length is 3
After normalize
PASS serializer.serializeToString(xmlChunk) is "This is some text before the CDATAmarkup inside of a CDATA]]>This is some text after the CDATA"
PASS xmlChunk.documentElement.childNodes.length is 3
PASS successfullyParsed is true
TEST COMPLETE