Daniel Veillard | 97c9ce2 | 2008-03-25 16:52:41 +0000 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <!DOCTYPE doc [ |
| 3 | <!ELEMENT doc (tst)*> |
| 4 | <!ELEMENT tst (#PCDATA)> |
| 5 | <!ATTLIST tst a NMTOKENS #IMPLIED> |
| 6 | <!ATTLIST tst b CDATA #IMPLIED> |
| 7 | <!ENTITY d "
"> |
| 8 | <!ENTITY a "
"> |
| 9 | <!ENTITY da "
"> |
| 10 | ]> |
| 11 | <doc> |
| 12 | <tst a="xyz" b=" xyz"/> |
| 13 | <tst a="&d;&d;A&a; &a;B&da;" b="&d;&d;A&a; &a;B&da;"/> |
| 14 | <tst a=" A B " b=" A B "/> |
| 15 | <tst a="x y" b=" x y "/> |
| 16 | <tst a="a b" b=" a b "/> |
| 17 | <tst a="a b" b=" a b "/> |
| 18 | </doc> |