Server goes into an infinite loop when typing <
in an empty dtd file
#266
Labels
bug
Something isn't working
completion
This issue or enhancement is related to completion support
regression
Milestone
Server goes into an infinite loop when typing
<
in an empty dtd file. jstack shows:The issue is caused by:
https://github.com/angelozerr/lsp4xml/blob/f4e8319ba63c970277469ccd3115cd6c1f96c096/org.eclipse.lsp4xml/src/main/java/org/eclipse/lsp4xml/dom/DOMNode.java#L370-L378
when parent.isElement() returns false, it goes back into the loop but the parent value is not updated, so it continues indefinitely
The text was updated successfully, but these errors were encountered: