diff options
| author | Aron Xu <aron@debian.org> | 2012-09-18 01:15:22 +0800 |
|---|---|---|
| committer | Aron Xu <aron@debian.org> | 2012-09-18 01:15:22 +0800 |
| commit | f660f9d2924c7549bc87e7f9b4ece7c9727b3682 (patch) | |
| tree | 816b3ef0e89d1601803b5dc1b90b50ade0567043 /test/badcomment.xml | |
| parent | d7372d053bbd1d58216fbb04d1771ffa4cc3e624 (diff) | |
| download | libxml2-upstream/2.9.0.tar.gz | |
Imported Upstream version 2.9.0upstream/2.9.0
Diffstat (limited to 'test/badcomment.xml')
| -rw-r--r-- | test/badcomment.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/badcomment.xml b/test/badcomment.xml new file mode 100644 index 0000000..147414c --- /dev/null +++ b/test/badcomment.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<foo> +<!-- def='NT-Char'--><!-->Char</nt>* ']]>' <nt def='NT-Char'>Char</nt>*)) +']]>'</rhs> +<com>CDATA sections</com> +<rhs>| '<!DOCTYPE' +(<nt def="NT-Char">Char</nt> - ('[' | ']'))+ +('[' +<nt def="NT-simpleDTD">simpleDTD</nt>* +']')? '>'</rhs> +<com>doc type declaration</com> +<prod id="NT-simpleDTD"><lhs>simpleDTD</lhs> +<rhs>'<!&como;' +(<nt def='NT-Char'>Char</nt>* - +(<nt def='NT-Char'>Char</nt>* '&comc;' <nt def='NT-Char'>Char</nt>*)) +'&comc;>'</rhs>--> +</foo> |
