summaryrefslogtreecommitdiffstats
path: root/test/badcomment.xml
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2016-11-17 21:10:17 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2016-11-17 21:10:17 (GMT)
commit574585fa78070b0cc6b5ad22543e21a3502a122b (patch)
tree0e96ee0e38f68bcd7662e7815f96e0151740056f /test/badcomment.xml
downloadblt-574585fa78070b0cc6b5ad22543e21a3502a122b.zip
blt-574585fa78070b0cc6b5ad22543e21a3502a122b.tar.gz
blt-574585fa78070b0cc6b5ad22543e21a3502a122b.tar.bz2
Squashed 'libxml2/' content from commit d9321d2
git-subtree-dir: libxml2 git-subtree-split: d9321d23d75a97f655f9325007ea7837f101100f
Diffstat (limited to 'test/badcomment.xml')
-rw-r--r--test/badcomment.xml18
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>* ']]&gt;' <nt def='NT-Char'>Char</nt>*))
+']]&gt;'</rhs>
+<com>CDATA sections</com>
+<rhs>| '&lt;!DOCTYPE'
+(<nt def="NT-Char">Char</nt> - ('[' | ']'))+
+('['
+<nt def="NT-simpleDTD">simpleDTD</nt>*
+']')? '&gt;'</rhs>
+<com>doc type declaration</com>
+<prod id="NT-simpleDTD"><lhs>simpleDTD</lhs>
+<rhs>'&lt;!&como;'
+(<nt def='NT-Char'>Char</nt>* -
+(<nt def='NT-Char'>Char</nt>* '&comc;' <nt def='NT-Char'>Char</nt>*))
+'&comc;&gt;'</rhs>-->
+</foo>