-
Notifications
You must be signed in to change notification settings - Fork 93
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
xsd files can only be edited if useCache is enabled #186
Comments
No matter what if useCache=false, it should not produce any errors. |
Thanks for the feedback, I will try that and Im' working on xsd extension in #178 |
It works now even if useCache=false. Although it actually use a local cache but my understanding is it just unpacks embedded schemas. |
If you have tests for it, you can close it now |
Yes it's exaclty that, XML Schemas, dtd from classpath https://github.com/angelozerr/lsp4xml/tree/master/org.eclipse.lsp4xml/src/main/resources/schemas are deployed in the cache folder, exactly the same folder when cache is enabled. Today test disable cache, because using cache means asynch validation, etc Test for XSD are:
|
Given:
when useCache is disabled, the document fails to validate (even if stuff was cached in .lsp4xml before). I get:
Looks like, by default, if clients don't send the useCache:true, the preference is unmarshalled as false, overriding the server's default value, thus breaking xsd editing.
The text was updated successfully, but these errors were encountered: