OLD | NEW |
1 DOMParser/XMLSerializer test | 1 DOMParser/XMLSerializer test |
2 | 2 |
3 The "text to parse" and "document object serialized" boxes should show the same
text, and it should be an XML document, not "@@No result@@". | 3 The "text to parse" and "document object serialized" boxes should show the same
text, and it should be an XML document, not "@@No result@@". |
4 text to parse | 4 text to parse |
5 | 5 |
6 <?xml version="1.0"?> | 6 <?xml version="1.0"?> |
7 <!DOCTYPE doc [ | 7 <!DOCTYPE doc [ |
8 <!ATTLIST d id ID #IMPLIED> | 8 <!ATTLIST d id ID #IMPLIED> |
9 ]> | 9 ]> |
10 <doc> | 10 <doc> |
11 <foo xmlns="foobar">One</foo> <x:bar xmlns:x="barfoo">Two</x:bar> | 11 <foo xmlns="foobar">One</foo> <x:bar xmlns:x="barfoo">Two</x:bar> |
12 <d id="id3">Three</d> | 12 <d id="id3">Three</d> |
13 <f id="&<>">Four&<></f><empty/><empty></empty></doc> | 13 <f id="&<>>">Four&<></f><empty/><empty></empty></doc> |
14 | 14 |
15 document object | 15 document object |
16 | 16 |
17 [object Document] | 17 [object Document] |
18 | 18 |
19 document object serialized | 19 document object serialized |
20 | 20 |
21 <?xml version="1.0"?><!DOCTYPE doc><doc> | 21 <?xml version="1.0"?><!DOCTYPE doc><doc> |
22 <foo xmlns="foobar">One</foo> <x:bar xmlns:x="barfoo">Two</x:bar> | 22 <foo xmlns="foobar">One</foo> <x:bar xmlns:x="barfoo">Two</x:bar> |
23 <d id="id3">Three</d> | 23 <d id="id3">Three</d> |
24 <f id="&<>">Four&<></f><empty/><empty/></doc> | 24 <f id="&<>>">Four&<></f><empty/><empty/></doc> |
OLD | NEW |