I've managed to get a pretty simple sample that breaks it.
If you cut and paste this code into the XML Editor (Web Lang Addon) sample in your sample pack it cashes.
Its the comment within the DTD thats causing the problems.
<?xml version="1.0"?>
<!-- My Test Branding Line -->
<!DOCTYPE note[
<!ELEMENT note (to,from,heading,body)>
<!ELEMENT to (#PCDATA)>
<!ELEMENT from (#PCDATA)>
<!-- dfsdf -->
<!ELEMENT heading (#PCDATA)>
<!ELEMENT body (#PCDATA)>
]>
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend</body>
</note>