Feature suggestion: SgmlDtd.Parse should consume any outer `<!DOCTYPE` and `]>`.
daiplusplus opened this issue · comments
Dai commented
From #13
The SgmlDtd.Parse()
method should detect if the TextReader input
starts at a <!DOCTYPE
token, and if so, consume it - then read the rest of the DTD body, and then consume the trailing ]>
if it started with <!DOCTYPE
.
Chris Lovett commented
is now fixed in 1.8.24
Dai commented
Oooh, thanks! Saves me the trouble :)
Chris Lovett commented
cool, hope it works :-) Let me know if you find any bugs, thanks.