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

Error prompt Invalid path for setting 'xml.catalogs' #289

Closed
pgundlach opened this issue Jul 10, 2020 · 3 comments · Fixed by eclipse/lemminx#834
Closed

Error prompt Invalid path for setting 'xml.catalogs' #289

pgundlach opened this issue Jul 10, 2020 · 3 comments · Fixed by eclipse/lemminx#834
Assignees
Labels
bug Something isn't working
Milestone

Comments

@pgundlach
Copy link

Since some time I get the error message

Invalid path for setting 'xml.catalogs': 'file:///Users/patrick/work/software/publisher/schema/catalog-schema-de.xml'

Why do I get this error message?

message

But everything seems to work ok. The setting xml.catalogs is as follows:

Xml: Catalogs
Array of XML Catalogs.
file:///Users/patrick/work/software/publisher/schema/catalog-schema-de.xml

setting

The settings.json contains this line:

   "xml.catalogs": [
        "file:///Users/patrick/work/software/publisher/schema/catalog-schema-de.xml"
    ],

The file exists and contains a catalog.

cat /Users/patrick/work/software/publisher/schema/catalog-schema-de.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD XML Catalogs V1.1//EN" "http://www.oasis-open.org/committees/entity/release/1.1/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
    <uri name="urn:speedata.de:2009/publisher/en" uri="layoutschema-de.xsd"/>
</catalog>

I believe I use version v0.13.0 of the XML Language Support by Red Hat

@angelozerr
Copy link
Contributor

If you try to remove file:// or file:/// is it working better?

@pgundlach
Copy link
Author

Yes, that fixes it.

I thought I had it right because XML auto completion worked.

Thank you and sorry for the noise.

@angelozerr angelozerr reopened this Jul 11, 2020
@angelozerr
Copy link
Contributor

angelozerr commented Jul 11, 2020

Yes, that fixes it.

Ok thanks for the feedback.

I thought I had it right because XML auto completion worked.

And you are right, it's a bug that we must fix.

Thank you and sorry for the noise.

No no, thanks for reporting this issue, as I said, it's a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants