blob: 38fc53d26d71088f92a3702e007c35d9fcd8f9f1 [file] [log] [blame]
DOMParser/XMLSerializer test
The "text to parse" and "document object serialized" boxes should show the same text, and it should be an XML document, not "@@No result@@".
text to parse
<?xml version="1.0"?>
<!DOCTYPE doc [
<!ATTLIST d id ID #IMPLIED>
]>
<doc>
<foo xmlns="foobar">One</foo> <x:bar xmlns:x="barfoo">Two</x:bar>
<d id="id3">Three</d>
<f id="&amp;&lt;&gt;>">Four&amp;&lt;&gt;</f><empty/><empty></empty></doc>
document object
[object XMLDocument]
document object serialized
<?xml version="1.0"?><!DOCTYPE doc><doc>
<foo xmlns="foobar">One</foo> <x:bar xmlns:x="barfoo">Two</x:bar>
<d id="id3">Three</d>
<f id="&amp;&lt;&gt;&gt;">Four&amp;&lt;&gt;</f><empty/><empty/></doc>