blob: 0c16231ab9f36605633a17e35636f497d4b30648 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?xml version="1.0"?>
<!DOCTYPE root [
<!ELEMENT root (#PCDATA|b)* >
<!--* P45 no space before the end bracket *-->
<!ELEMENT b EMPTY>
<!ELEMENT unique ANY>
<!ELEMENT unique- ANY>
<!ELEMENT unique_ ANY>
<!ELEMENT unique. ANY>
<!ATTLIST b attr1 CDATA #IMPLIED>
<!ATTLIST b attr2 CDATA #IMPLIED>
<!ATTLIST b attr3 CDATA #IMPLIED>
]>
<root>
<b/>without white space
<b /> with a white space
<b attr1="value1" />
<b attr1="value1" attr2="value2" attr3 = "value3"/>
</root>
<!--* !!! testing both P45 and p46 *-->
|