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

Changing the file associations or catalogs in the preferences should trigger validation #143

Closed
fbricon opened this issue Sep 25, 2018 · 5 comments
Assignees
Labels
enhancement New feature or request in progress needs tests This issue is probably fixed but needs regression tests validation
Milestone

Comments

@fbricon
Copy link
Contributor

fbricon commented Sep 25, 2018

When a file association or a catalog is added or modified in the preferences, if a matching document is already open, it doesn't take into account the new schema.
Either diagnostics on opened documents are stale or missing.
So changing associations or catalogs should trigger validation for all opened documents.

@fbricon fbricon added enhancement New feature or request validation labels Sep 25, 2018
@fbricon fbricon added this to the v0.0.3 milestone Nov 3, 2018
@angelozerr
Copy link
Contributor

Changing content of XML Schema/DTD should trigger too validation. We could start to trigger validation for all opened XML document and after we could improve it to validate only XML document which is linked to the XML Schema/DTD which changed.

@angelozerr
Copy link
Contributor

It should work. We need to write tests.

@angelozerr
Copy link
Contributor

It should work now, please give me feedback.

@fbricon
Copy link
Contributor Author

fbricon commented Dec 5, 2018

I confirm this works. Do we have regression tests for that?

@fbricon fbricon added the needs tests This issue is probably fixed but needs regression tests label Dec 5, 2018
@angelozerr
Copy link
Contributor

No taht's why I have not closed it

NikolasKomonen added a commit to NikolasKomonen/lsp4xml that referenced this issue Jan 18, 2019
NikolasKomonen added a commit to NikolasKomonen/lsp4xml that referenced this issue Jan 18, 2019
NikolasKomonen added a commit to NikolasKomonen/lsp4xml that referenced this issue Jan 21, 2019
NikolasKomonen added a commit to NikolasKomonen/lsp4xml that referenced this issue Jan 21, 2019
NikolasKomonen added a commit to NikolasKomonen/lsp4xml that referenced this issue Jan 22, 2019
fbricon pushed a commit that referenced this issue Jan 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in progress needs tests This issue is probably fixed but needs regression tests validation
Projects
None yet
Development

No branches or pull requests

2 participants