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? #80

Open
krolaw opened this issue Feb 20, 2015 · 1 comment
Open

XSD Validation? #80

krolaw opened this issue Feb 20, 2015 · 1 comment

Comments

@krolaw
Copy link

krolaw commented Feb 20, 2015

Any chance of adding XSD validation?

Or, if I added it myself (I'm so new to C and CGO it's a bit crazy), what's the odds it'll be merged back in?

@jbowtie
Copy link
Contributor

jbowtie commented Feb 23, 2015

I think it's unlikely to be added - you'll notice the default doesn't even enable DTD validation (though you can use the strict option to get better behaviour).

If you want to add it yourself I'm happy to review and champion it. It involves calling xmlSchemaValidateDoc at the C level with a context and then getting and outputting any errors.

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