You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to parse comments containing '<' or '>' inside the DOCTYPE markup declaration list results in errors. The errors are different depending on whether '<' or '>' was used (or which appears first). This is not an issue if the comment is elsewhere in the file.
Uncaught Error: Invalid XML comment in DOCTYPE
readDocType DocTypeReader.js:82
parseXml OrderedObjParser.js:245
parse XMLParser.js:35
DocTypeReader.js:82:30
Probably not important, but I feel I should note that while the online version still throws errors, the error messages are different. '<' and '>' throw Error: Start tag expected.:1:undefined and Error: char 'E' is not expected.:3:5 respectively.
I'm glad you find this repository helpful. I'll try to address your issue ASAP. You can watch the repo for new changes or star it.
Cwazywierdo
changed the title
Error when using '<' and '>' in doctype markup declaration list
Error when using '<' and '>' in comment in doctype markup declaration list
Jan 8, 2023
Description
Trying to parse comments containing '<' or '>' inside the DOCTYPE markup declaration list results in errors. The errors are different depending on whether '<' or '>' was used (or which appears first). This is not an issue if the comment is elsewhere in the file.
Code and output
out:
out:
Probably not important, but I feel I should note that while the online version still throws errors, the error messages are different. '<' and '>' throw
Error: Start tag expected.:1:undefined
andError: char 'E' is not expected.:3:5
respectively.Would you like to work on this issue?
Bookmark this repository for further updates.
The text was updated successfully, but these errors were encountered: