normalize-with-cdata-expected.txt revision eff69b907ef2cd3a9af0351287a929c66f58e3f6
1Test of normalize on an XML document with CDATA. 2 3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". 4 5 6Before normalize 7PASS 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>" 8PASS xmlChunk.documentElement.childNodes.length is 3 9After normalize 10PASS 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>" 11PASS xmlChunk.documentElement.childNodes.length is 3 12PASS successfullyParsed is true 13 14TEST COMPLETE 15 16