summaryrefslogtreecommitdiffstats
path: root/test/resources/xml/om/id.xml
diff options
context:
space:
mode:
Diffstat (limited to 'test/resources/xml/om/id.xml')
-rw-r--r--test/resources/xml/om/id.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/resources/xml/om/id.xml b/test/resources/xml/om/id.xml
new file mode 100644
index 0000000..749ab20
--- /dev/null
+++ b/test/resources/xml/om/id.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE foo [
+
+<!ELEMENT foo (bar)>
+<!ATTLIST foo id CDATA #IMPLIED>
+<!ELEMENT bar (#PCDATA|cheese)*>
+<!ATTLIST bar id ID #REQUIRED>
+<!ELEMENT cheese (#PCDATA)>
+<!ATTLIST cheese kind ID #IMPLIED>
+]>
+
+<foo id="foobar">
+ <bar id="fb1">
+ baz
+ <cheese kind="edam">gouda</cheese>
+ baz
+ <cheese kind="gouda">cheddar</cheese>
+ baz
+ </bar>
+</foo>