Closed h7x4 closed 2 years ago
Thank you for reporting and analyzing the problem. The current implementation does not attempt to parse the DOCTYPE
element and instead just tries to read over it. In this case that obviously fails, I'll be looking into it.
For reference, the doctype syntax is documented here: https://www.w3.org/TR/xml/#sec-prolog-dtd
I'm currently working with a file that starts off like this:
I'm getting the following error:
I would guess this means that
[N]
is the part getting in the way, and that the parser recognizes the]
too early and expects an>
to end theDOCTYPE
element.