Documents with an Internal Subset DOCTYPE had stopped trying to bind
See original GitHub issueMy organization has documents like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE root [
<!ENTITY foo "Bar">
]>
I’m trying to bind these documents using fileAssociations
, but lsp4xml stops trying to bind at the DOCTYPE
. It should continue looking for xsi:schemaLocation
and in fileAssociations
when the DOCTYPE
lacks a DTD reference.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
What is wrong with my XML file with an internal DTD subset?
This error is caused by the DTD file not being valid. You have created a DTD-file containing:
Read more >SVG DTD not accepted · Issue #1114 · w3c/epubcheck - GitHub
Laurent's example document contains a DTD, which has an internal DTD subset only. No external entities can occur in XML documents unless they ......
Read more >3.1.3. Internal DTD Subsets - XML in a Nutshell, 3rd Edition ...
Example 3-4 demonstrates. The part of the DTD between the brackets is called the internal DTD subset. All the parts that come from...
Read more >Explanation of the error messages for the W3C Markup Validator
An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling...
Read more >DTDs Don't Work on the Web - Henri Sivonen
When the DTD became unavailable, apps around the world stopped working. ... (For the internal subset, be sure to have protection against the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s a limitation of Xerces. But I found a topic about this problem https://www.oxygenxml.com/forum/topic12812.html#p36904 and Oxygen fixes the problem. The idea is to not validate XML with DTD (DOCTYPE) if DOCTYPE doesn’t define <!ELEMENT or doesn’t define PUBLIC, SYSTEM path.
I will try to follow this rule. I give you feedback if I can manage that.
Glad it works for you @zwaldowski .Many thanks for your feedback.