blob: 9f02030aeaaa794040665dc323c520710481c40d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
<!DOCTYPE root [
<!ELEMENT root ANY>
<!ELEMENT empty EMPTY>
<!ELEMENT mixed1 (#PCDATA)>
<!ELEMENT mixed2 (#PCDATA)*>
<!ELEMENT mixed3 (#PCDATA|empty)*>
]>
<root>
<empty/>
<mixed1/>
<mixed1></mixed1>
<mixed2/>
<mixed2></mixed2>
<mixed3/>
<mixed3></mixed3>
<mixed1>allowed</mixed1>
<mixed1><![CDATA[<allowed>]]></mixed1>
<mixed2>also</mixed2>
<mixed2><![CDATA[<% illegal otherwise %>]]></mixed2>
<mixed3>moreover</mixed3>
<mixed1>allowed & stuff</mixed1>
<mixed2>also</mixed2>
<mixed3>moreover <empty></empty> </mixed3>
<mixed3>moreover <empty/> </mixed3>
<mixed3><empty/> </mixed3>
<mixed3><empty/> too</mixed3>
</root>
|