StartDocument( documentVersion="1.0" ) DTD( text=" ' > ]>" dtdName="test" EntityDeclaration( name="xx" value="%zz;" ) EntityDeclaration( name="zz" value="" ) EntityDeclaration( name="tricky" value="error-prone" ) ) StartElement( name="test" qualifiedName="test" ) Characters( text="This sample shows a error-prone method." ) EndElement( name="test" qualifiedName="test" ) EndDocument( )