Lemminx not able to fetch my dtd file
See original GitHub issueI am trying to use Lemminx to validate my fontconfig XML file. However, it keeps throwing the error that it cannot find the DTD file.
fonts.dtd is a systemwide file on Linux machines and is located in /usr/share/xml/fontconfig/fonts.dtd. Is there any way I can tell Lemminx to recognize the fontconfig urn?

Could you please let me know how I can fix this?
Issue Analytics
- State:
- Created a year ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Outline for DTD file is messed up #226 - eclipse/lemminx
It seems it uses location, so it's not possible to display attributes after a given element as a tree. That's why I display...
Read more >Hibernate error, possibly with DTD declaration
In a separate project where I am using the XML configuration file for Hibernate, I did the same migration, and it went fine....
Read more >ServerTools (WTP) » Local DTD for web.xml
folder inside of my web-inf directory and placed the web-app_2_3.dtd file inside this folder. Then I change the uri for the dtd on...
Read more >redhat-developer/vscode-xml
I would like to know how to validate my xml against an xsd ... we are working on it to provide a quick...
Read more >How To Solve- org.testng.TestNGException - YouTube
How To Solve- org.testng.TestNGException: TestNG by default disables loading DTD from unsecured Urls.
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 Free
Top Related Reddit Thread
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

Glad you fixed yoir issues.
Thnank you for your feedback and I hope you will continue to enjoy with lemminx.
You need to define a catalog that maps
urn:fontconfig:fonts.dtdto/usr/share/xml/fontconfig/fonts.dtd. So, first create a catalog.xml on your machine, containing:You then need to pass the following setting to lemminx: