aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmerl/doc/examples/xml/testdtd.dtd
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2011-05-10 09:15:13 +0200
committerLars Thorsen <[email protected]>2011-05-10 09:15:13 +0200
commit6f7310e3a06af45f2635b0451874445b7f51b7ff (patch)
treece54006a66dd7f729bbb999b49d8fb8d0696bbec /lib/xmerl/doc/examples/xml/testdtd.dtd
parente3af9123e7ef9291535cafbd0ecb9d3309d674f7 (diff)
parentc241e8780088624f369379ba87215a475276b201 (diff)
downloadotp-6f7310e3a06af45f2635b0451874445b7f51b7ff.tar.gz
otp-6f7310e3a06af45f2635b0451874445b7f51b7ff.tar.bz2
otp-6f7310e3a06af45f2635b0451874445b7f51b7ff.zip
Merge branch 'lars/xmerl/test-suites/OTP-9228' into dev
* lars/xmerl/test-suites/OTP-9228: Fix separator error in tokenlists. Added the xmerl test suites. Using the same testdata for testing xmerl_scan and xmerl_sax_parser. Add test suite for xmerl xmerl: Add doc/examples directory
Diffstat (limited to 'lib/xmerl/doc/examples/xml/testdtd.dtd')
-rwxr-xr-xlib/xmerl/doc/examples/xml/testdtd.dtd17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/xmerl/doc/examples/xml/testdtd.dtd b/lib/xmerl/doc/examples/xml/testdtd.dtd
new file mode 100755
index 0000000000..2ce1c513a6
--- /dev/null
+++ b/lib/xmerl/doc/examples/xml/testdtd.dtd
@@ -0,0 +1,17 @@
+<!ELEMENT PARAMETER ( #PCDATA | PARAMETER )* >
+<!ATTLIST PARAMETER NR ( 1000024 | 1000025 | 1000101 | 1000102 | 1000103
+| 1000105 | 1000110 | 1000115 | 1000198 ) #REQUIRED >
+<!ATTLIST PARAMETER UNIT CDATA #REQUIRED >
+
+<!ELEMENT PRODUCT ( USER_DEF, PRODUCTELEMENT+ ) >
+<!ATTLIST PRODUCT CUSTOMER CDATA #REQUIRED >
+<!ATTLIST PRODUCT DESCRIPTION CDATA #REQUIRED >
+<!ATTLIST PRODUCT GENERATOR NMTOKEN #REQUIRED >
+<!ATTLIST PRODUCT PRODUCTID NMTOKEN #REQUIRED >
+
+<!ELEMENT PRODUCTELEMENT ( PARAMETER+ ) >
+<!ATTLIST PRODUCTELEMENT ELEMENTID CDATA #REQUIRED >
+<!ATTLIST PRODUCTELEMENT TYPE NMTOKEN #REQUIRED >
+
+<!ELEMENT USER_DEF ( #PCDATA ) >
+