exceptions/test1
<!DOCTYPE test [
<!ELEMENT test - - (a, b) +(c)>
<!ELEMENT a - - (#PCDATA)>
<!ELEMENT b - - (#PCDATA)>
<!ELEMENT c - - (#PCDATA)>
]>
<test><a></a><c></c><b></b></test>
exceptions/test1
exceptions/test2
exceptions/test3
exceptions/test5
exceptions/test7
exceptions/test8
exceptions/test9
exceptions/test12
sgmlproc <your-file.sgm>
where <your-file.sgm> is replaced by the actual file
used for storing.
<!DOCTYPE test [
<!ELEMENT test - - (a, b) +(c)>
<!ELEMENT a - - (#PCDATA)>
<!ELEMENT b - - (#PCDATA)>
<!ELEMENT c - - (#PCDATA)>
]>
<test><a></a><c></c><b></b></test>
<!DOCTYPE test [
<!ELEMENT test - - (a, b?, c) -(b)>
<!ELEMENT a - - (#PCDATA)>
<!ELEMENT b - - (#PCDATA)>
<!ELEMENT c - - (#PCDATA)>
]>
<test><a></a><b></b><c></c></test>
<!DOCTYPE test [
<!ELEMENT test - - (a, b?, c) -(b)>
<!ELEMENT a - - (#PCDATA)>
<!ELEMENT b - - (#PCDATA)>
<!ELEMENT c - - (#PCDATA)>
]>
<test><a></a><c></c></test>
<!DOCTYPE test [
<!ELEMENT test - - (a, b) -(c) +(c)>
<!ELEMENT a - - (#PCDATA)>
<!ELEMENT b - - (#PCDATA)>
<!ELEMENT c - - (#PCDATA)>
]>
<test><a></a><c></c><b></b></test>
<!DOCTYPE test [
<!ELEMENT test - - (a, b*, c?) -(b|c) +(d|e)>
<!ELEMENT a - - (#PCDATA)>
<!ELEMENT b - - (#PCDATA)>
<!ELEMENT c - - (#PCDATA)>
<!ELEMENT d - - (#PCDATA)>
<!ELEMENT e - - (#PCDATA)>
]>
<test><a></a><e></e></test>
<!DOCTYPE test [
<!ELEMENT test - - (a, b*, c?) -(b|c) +(d|e)>
<!ELEMENT a - - (b|c|#PCDATA) +(c)>
<!ELEMENT b - - (#PCDATA)>
<!ELEMENT c - - (#PCDATA)>
<!ELEMENT d - - (#PCDATA)>
<!ELEMENT e - - (#PCDATA)>
]>
<test><a><c></c></a><e></e></test>
<!DOCTYPE test [
<!ELEMENT test - - (a, b*, c?) -(b) +(d|e)>
<!ELEMENT a - - (b|c|#PCDATA) +(f)>
<!ELEMENT b - - (#PCDATA)>
<!ELEMENT c - - (#PCDATA)>
<!ELEMENT d - - (#PCDATA)>
<!ELEMENT e - - (#PCDATA)>
<!ELEMENT f - - (#PCDATA)>
]>
<test><a><c></c><d></d></a><e></e></test>
<!DOCTYPE test [
<!ELEMENT test - - (a, b, c)>
<!ELEMENT a - O (d)>
<!ELEMENT b O O (e*) +(x)>
<!ELEMENT c - - (f)>
<!ELEMENT d - - (#PCDATA)>
<!ELEMENT e - - (#PCDATA)>
<!ELEMENT f - - (#PCDATA)>
<!ELEMENT x - - (#PCDATA)>
]>
<test><a><d></d><x></x><c><f></f></c></test>