| 1 |
--- /dev/null |
| 2 |
+++ b/test/1.xml |
| 3 |
@@ -0,0 +1,7 @@ |
| 4 |
+<?xml version="1.0"?> |
| 5 |
+<__foo:foo xmlns:__foo="urn:__foo" xmlns:_foo="urn:_foo" _foo:key="value" _foo:key2="value"> |
| 6 |
+ <foo:bar xmlns:foo="urn:foo" _foo:key="value">BAR</foo:bar> |
| 7 |
+ <foo:bar xmlns:foo="urn:foo"> |
| 8 |
+ <___foo:spam xmlns:___foo="urn:bar"><egg/>this is spam!</___foo:spam> |
| 9 |
+ </foo:bar> |
| 10 |
+</__foo:foo> |
| 11 |
--- /dev/null |
| 12 |
+++ b/test/2.xml |
| 13 |
@@ -0,0 +1,11 @@ |
| 14 |
+<?xml version="1.0"?> |
| 15 |
+<foo key="value" key2="value2"> |
| 16 |
+ <bar/> |
| 17 |
+ <spam key="value"/> |
| 18 |
+ <egg>ham</egg> |
| 19 |
+ <foo:bar xmlns:foo="http://www.example.com"/> |
| 20 |
+ <foo:spam xmlns:foo="http://www.example.com" foo:key="value"/> |
| 21 |
+ <foo:egg xmlns:foo="http://www.example.com"> |
| 22 |
+ <ham/> |
| 23 |
+ </foo:egg> |
| 24 |
+</foo> |
| 25 |
--- /dev/null |
| 26 |
+++ b/test/3.xml |
| 27 |
@@ -0,0 +1,2 @@ |
| 28 |
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
| 29 |
+<foo key="val"'&<>ue"><&;'</foo> |
| 30 |
--- /dev/null |
| 31 |
+++ b/test/4.xml |
| 32 |
@@ -0,0 +1,6 @@ |
| 33 |
+<?xml version="1.0"?> |
| 34 |
+<x xmlns="http://URI" xmlns:_="http://URI" _:a="in URI" b="in no ns" c="in default ns"> |
| 35 |
+ <y xmlns="" _:a="in URI" b="in no ns" c="in default ns"> |
| 36 |
+ <_:z _:a="in URI" b="in no ns" c="in default ns"/> |
| 37 |
+ </y> |
| 38 |
+</x> |
| 39 |
--- /dev/null |
| 40 |
+++ b/test/5.xml |
| 41 |
@@ -0,0 +1,5 @@ |
| 42 |
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
| 43 |
+<people> |
| 44 |
+ <person age="32">Stefan</person> |
| 45 |
+ <person age="4">Judith</person> |
| 46 |
+</people> |
| 47 |
--- /dev/null |
| 48 |
+++ b/test/xhtml.xml |
| 49 |
@@ -0,0 +1,7 @@ |
| 50 |
+<?xml version="1.0"?> |
| 51 |
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> |
| 52 |
+ <head> |
| 53 |
+ <title>Test</title> |
| 54 |
+ </head> |
| 55 |
+ <body foo="1"/> |
| 56 |
+</html> |