1 Test of normalize on an XML document with CDATA. 2 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". 4 5 6 Before normalize 7 PASS serializer.serializeToString(xmlChunk) is "<foo>This is some text before the CDATA<![CDATA[This is some <bold>markup</bold> inside of a CDATA]]>This is some text after the CDATA</foo>" 8 PASS xmlChunk.documentElement.childNodes.length is 3 9 After normalize 10 PASS serializer.serializeToString(xmlChunk) is "<foo>This is some text before the CDATA<![CDATA[This is some <bold>markup</bold> inside of a CDATA]]>This is some text after the CDATA</foo>" 11 PASS xmlChunk.documentElement.childNodes.length is 3 12 PASS successfullyParsed is true 13 14 TEST COMPLETE 15 16