krolaw
2015-02-19 21:35:25 UTC
Hi,
I'm looking for a way to allow a go web service to check input XML against
a provided XSD schema, before forwarding it on to another service.
Does anyone have some example code that validates xml from a provided
schema?
I thought the easiest way forward would be to find a package that wraps
libxml2. However, either the wrappers I have looked at are incomplete, or
I'm ignorant on how to call the various functions to schema validate xml.
Suggestions gratefully appreciated.
Thanks.
I'm looking for a way to allow a go web service to check input XML against
a provided XSD schema, before forwarding it on to another service.
Does anyone have some example code that validates xml from a provided
schema?
I thought the easiest way forward would be to find a package that wraps
libxml2. However, either the wrappers I have looked at are incomplete, or
I'm ignorant on how to call the various functions to schema validate xml.
Suggestions gratefully appreciated.
Thanks.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.