<!DOCTYPE elem
[
<!ELEMENT elem (#PCDATA|elem)*>
<!ENTITY ent "<elem>CharData</elem>">
]>
<elem>
CharData 
<!--comment-->
<![CDATA[
<elem>
CharData 
<!--comment-->
<?pi?>&ent;"
CharData
</elem>
]]>
<![CDATA[
<elem>
CharData 
<!--comment-->
<?pi?>&ent;"
CharData
</elem>
]]>
<?pi?>&ent;"
CharData
</elem>
|