-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compile/validate complete document; dont fail fast on first error #956
Comments
It exists some discussion about this topic, see #947 (comment) See too my suggestion at #947 (comment) But please keep in mind that we don't control the error validation. We delegate XML validation to Xerces Java library. |
ahhhw, i see. one solution can be to proceed by applying the fix internally. ofc this'd work only if the fix at that place could atleast be semantically unambiguous. but seems it will be enough for covering a good range of common lints.
yeah, that would make sense
aaahhhh the Apache.... |
the better one can be
one more +ve point i think: this would very much suffice for the syntactic errors, i.e. those unrelated with DTD grammar. as the XML's syntax is pretty unambiguous & deterministic as far as i know.
i just tried and recalled, that this happens all the times in other languages too (python, markdown, java etc). say for example when entering a string or a comment with ending delimiter not entered yet - a good chunk of following part turns squiggly. or in other such instances.... but these all show all the errors regardless. one recent example with markdown: VSCodium_mkS55HyJbZ.mp4source: [node]: https://stackoverflow.com
[node shebang]: https://stackoverflow.com
[qjs]: https://stackoverflow.com
[phantomjs]: https://stackoverflow.com
[firefox -headless]: https://stackoverflow.com
[jjs]: https://stackoverflow.com
[rhino]: https://stackoverflow.com
[ipython]: https://stackoverflow.com
[csript]: https://stackoverflow.com
[jsc]: https://stackoverflow.com
[node]:
[node shebang]:
[qjs]:
[phantomjs]:
[firefox -headless]:
[jjs]:
[rhino]:
[ipython]:
[csript]:
[jsc]:
|
I find the name is ambigous because there is completion which can mean auto completion.
It is working because the parser of those language are fault tolerant. We did that too for other language like with our Quarkus Qute parser. Xerces is not fault tolerant and we dont want to re implement an XML validation which is an hatd work even if intern1lly we h1ve implemented a fault tolerant parser for XML to support for instance completion foldings hypelink etc |
title/summary:
compile/validate complete document; dont fail fast on first error
details:
Additional details:
screenrecording:
VSCodium_MTfRntLrDN.mp4
MWE:
The text was updated successfully, but these errors were encountered: