Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning when the xml.catalogs path cannot be found #217

Closed
arkceajin opened this issue Jan 9, 2020 · 2 comments
Closed

Warning when the xml.catalogs path cannot be found #217

arkceajin opened this issue Jan 9, 2020 · 2 comments
Assignees
Milestone

Comments

@arkceajin
Copy link

When setting an unexisting path in xml.catalogs.

"xml.catalogs": ["c:\\AUTOSAR\\asdasdAUTOSAR_00048.xml"] <- wrong 
"xml.catalogs": ["c:\\AUTOSAR\\AUTOSAR_00048.xml"] <- right

XML:

<?xml version="1.0" encoding="UTF-8"?>
<AUTOSAR xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://autosar.org/schema/r4.0" xsi:schemaLocation="http://autosar.org/schema/r4.0 AUTOSAR_00048.xsd">
</AUTOSAR>

Now gives these
image
image
Suggest gives the speicfic warning that schema document cannot find is caused by the wrong path of catalog.

@angelozerr
Copy link
Contributor

I fear that it's not possible to do that since it's a vscode settings and there are no API to manage validation for this settings.

@angelozerr
Copy link
Contributor

Fixed with eclipse/lemminx#757

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants