XML Validation with dtd on VSCode
I like to use xml to define table structure, and write a local dtd file to validate the xml file. But when I try to update the dtd file, I…
I like to use xml to define table structure, and write a local dtd file to validate the xml file. But when I try to update the dtd file, I find it’s difficult to update the dtd file, because I put the dtd file together with the xml file. Recently I try to put the dtd file on the server, so I can reference the dtd file with URL, so It’s easy to update the dtd file.
Another problem is the dtd file is cached by the xml extension, and it’s difficult to find the cache direction, after surf the internet and find the cache file location from XSD download fails in recent versions, the catch file direction is ~/.lemminx/cache.