-
Notifications
You must be signed in to change notification settings - Fork 39
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
Add XSD Schema validation #111
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks reasonable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to be able to retrieve why validation failed but this seems a step in the right direction at least
The current version works correctly under Linux. Libxml2 behavior with the xml file, xsd file function seemed different between Linux and Windows (Linux seemed to expect the schema and xml files to contain a root value referring to a common namespace and the Windows version did not), so the current version does not use that libxml function, which simplifies the code buy several lines anyway. |
add the libxml2's functionality to validate XML against an XSD schema.