diff options
Diffstat (limited to 'tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_1.xml')
-rw-r--r-- | tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_1.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_1.xml b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_1.xml new file mode 100644 index 0000000000..e91a10895e --- /dev/null +++ b/tests/auto/xml/sax/qxmlsimplereader/xmldocs/valid/ext-sa/undef_entity_1.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no" ?> +<!DOCTYPE foo SYSTEM "foo.dtd" [ + <!ENTITY def "foo"> +]> +<foo> + <!-- check that the call to skippedEntity() is inserted in the right place --> + <a>abc&undef;gh</a> + <b>&undef;gh</b> + <c>abc&undef;</c> + <d>&undef;</d> + <e>&undef;&def;&undef;&def;</e> + <e>a&undef;b&def;c&undef;d&def;e</e> +</foo> |