Use internal XML schema with libxml2?
Use internal XML schema with libxml2?
I would like to use a compile-time schema to validate any input XMLs via libxml2. It seems I should be able to use xmlReadMemory()
, however this only appears to apply to XML buffers, not schema buffers. Is there any way to accomplish this properly?
xmlReadMemory()
xmlSchemaNewMemParserCtxt
0
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy
You probably need
xmlSchemaNewMemParserCtxt
.– nwellnhof
Sep 22 '18 at 14:04