-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Description
When I change a dtd <!ELEMENT> declaration the file doesn't validate automatically. I have to force restart VSCode to see, if my changes fixed the problem.
Example:
<?xml version="1.0"?>
<!DOCTYPE student [
<!ELEMENT student (surname,id)>
<!ELEMENT surname (#PCDATA)>
]>
<student>
<surname>Smith</surname>
<id>567896</id>
</student>
This file is invalid because its missing <!ELEMENT id (#PCDATA)>. Adding the line doesn't cause the error to disappear, only after restarting VSCode the problem is it fixed.
I'm using VSCode 1.27.2 on Kali Linux. Java JDK is openjdk-10