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

validation errors in Numishare-produced NUDS #86

Open
cwulfman opened this issue Mar 13, 2019 · 2 comments
Open

validation errors in Numishare-produced NUDS #86

cwulfman opened this issue Mar 13, 2019 · 2 comments

Comments

@cwulfman
Copy link

The attached, bare-bones NUDS file generated by Numishare does not validate against the current NUDS schema, suggesting that fuller records will not either. Is that likely to cause problems? Does it make sense to separately correct (e.g., via XSLT) Numishare output to be conformant?

a589b0254e.xml.zip

@ewg118
Copy link
Owner

ewg118 commented Mar 13, 2019

The XSD standard is unnecessarily rigid, requiring a lot of elements to appear in a specific order. It is possible to use XPath to order elements to conform to the XSD within the XForms application, but the XPath would be inordinately complex, with no real gain since the order of elements in the XML document isn't reflected in the HTML or any other serialization. I would probably develop a Schematron schema and deprecate XSD if I had the time.

If there are specific elements that can be added in the Numishare editor that don't appear in the XSD at all, please let me know. I am working on syncing the editor to the XSD in principle (basic document structure without regard to specific element ordering)

@cwulfman
Copy link
Author

Or RELAX NG?

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