<!DOCTYPE elem [ <!ELEMENT elem (#PCDATA|elem)*> <!ENTITY ent "<elem>CharData</elem>"> ]> <elem> <!ENTITY badent "bad"> </elem>