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

Provide validation based on an xsd #4

Closed
apupier opened this issue Jun 25, 2018 · 3 comments
Closed

Provide validation based on an xsd #4

apupier opened this issue Jun 25, 2018 · 3 comments
Assignees
Labels
CM Extension Content Model extension (XML Schema & DTD) enhancement New feature or request
Milestone

Comments

@apupier
Copy link
Contributor

apupier commented Jun 25, 2018

No description provided.

@angelozerr
Copy link
Contributor

@fbricon fbricon added the enhancement New feature or request label Jul 9, 2018
@angelozerr
Copy link
Contributor

It starts working, but a lot of features to implement again like

  • manage better start/end location for error (because XSD validation from xerces manages just a start position and not a range)
  • cache XML Schema, because for the moment, the XML Schema is loaded each time you type something. But there is not freeze because publish diagnostics is done in async mode. To fix that, I think XML catalog should help us and I need to read https://xerces.apache.org/xerces2-j/faq-grammars.html

@angelozerr angelozerr self-assigned this Jul 24, 2018
@angelozerr angelozerr added the CM Extension Content Model extension (XML Schema & DTD) label Aug 6, 2018
@angelozerr
Copy link
Contributor

I close this issue, since validation is working by using Xerces. We need just adjust ranges in #71 and #72

For cache topic, see #73

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CM Extension Content Model extension (XML Schema & DTD) enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants