DotJoshJohnson / vscode-xml

XML Tools for Visual Studio Code
MIT License
320 stars 87 forks source link

Custom Entity from DTD invalidate tree view #299

Open kmholtan opened 4 years ago

kmholtan commented 4 years ago

Custom entities defined in the DTD makes the tree view go </> InvalidDocument when a reference is made. Other global entities like " works. The following works find in Eclipse, XMLSpy and with lxml in python but fails in tree view.

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE resources [ <!ENTITY maxCurrent "35"> ]>

DotJoshJohnson commented 4 years ago

Can you provide an example document that can be used to reproduce?