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

schema conformance issue #98

Open
sljohns80 opened this issue Apr 20, 2018 · 1 comment
Open

schema conformance issue #98

sljohns80 opened this issue Apr 20, 2018 · 1 comment

Comments

@sljohns80
Copy link

I was able to get the jquery.xmleditor to work with the exception of conforming to the rules of the associated schema. My schema says that the <title> is required after the root node and occurs only once. However, in the jquery.xmleditor I am able to insert multiple <title> tags after the root. Any help would be greatly appreciated

@bbpennel
Copy link
Member

Hello @sljohns80. Unfortunately the editor does not currently prevent creation of invalid documents, it only attempts to assist in creating documents. At the time it was created there were not any javascript based xsd validators which supported import of additional schemas, although there may be some now. If you have a backend server which the contents of the editor are submitted to, then validation can happen there, with the results communicated back to the client, but its a bit clunky.

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

2 participants