tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_1.xml
raw| 1 | <?xml version="1.0" encoding="UTF-8" standalone="no" ?> |
| 2 | <!DOCTYPE foo SYSTEM "foo.dtd" [ |
| 3 | <!ENTITY def "foo"> |
| 4 | ]> |
| 5 | <foo> |
| 6 | <!-- check that the call to skippedEntity() is inserted in the right place --> |
| 7 | <a>abc&undef;gh</a> |
| 8 | <b>&undef;gh</b> |
| 9 | <c>abc&undef;</c> |
| 10 | <d>&undef;</d> |
| 11 | <e>&undef;&def;&undef;&def;</e> |
| 12 | <e>a&undef;b&def;c&undef;d&def;e</e> |
| 13 | </foo> |