libxml2
1: ./test/valid/t6.dtd:1: parser error : StartTag: invalid element name 2: <!ENTITY % xdef "def"> 3: ^ 4: ./test/valid/t6.dtd:1: parser error : Extra content at the end of the document 5: <!ENTITY % xdef "def"> 6: ^