Skip to content

DTD validation problems not refreshing correctly #79

@iTReprise

Description

@iTReprise

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions