0
|
1 |
StartDocument( documentVersion="1.0" )
|
|
2 |
DTD( text="
|
|
3 |
<!DOCTYPE test [
|
|
4 |
<!ELEMENT test (#PCDATA) >
|
|
5 |
<!ENTITY % xx '%zz;'>
|
|
6 |
<!ENTITY % zz '<!ENTITY tricky "error-prone" >' >
|
|
7 |
<!ENTITY tricky "error-prone" >
|
|
8 |
]>" dtdName="test"
|
|
9 |
EntityDeclaration( name="xx" value="%zz;" )
|
|
10 |
|
|
11 |
EntityDeclaration( name="zz" value="<!ENTITY tricky "error-prone" >" )
|
|
12 |
|
|
13 |
EntityDeclaration( name="tricky" value="error-prone" )
|
|
14 |
)
|
|
15 |
StartElement( name="test" qualifiedName="test" )
|
|
16 |
Characters( text="This sample shows a error-prone method." )
|
|
17 |
EndElement( name="test" qualifiedName="test" )
|
|
18 |
EndDocument( )
|