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

XSD validation #69

Open
henry-hz opened this issue Mar 6, 2019 · 1 comment
Open

XSD validation #69

henry-hz opened this issue Mar 6, 2019 · 1 comment

Comments

@henry-hz
Copy link

henry-hz commented Mar 6, 2019

Hi!
Validating XML using XSD is a good feature. In xmerl we can see http://erlang.org/doc/man/xmerl_xsd.html#validate-2 . How should I proceed to implement it ?

@henry-hz henry-hz changed the title xsd XSD validation Mar 6, 2019
@devstopfix
Copy link

That validate function is not compatible with other validators - it gives differing results from libxml2 and xerces for example.

I can also make it go into infinite loop with valid XML documents and certain namespace declarations! I will generate some failing tests at some point and see if I can fix them. It's mainly around namespace prefix handling from what I can see.

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