1

Can the libxml2 SAX interface do schema validation against the whole XML contents? Currently, I have a completed xsd loaded into the memory. Based on my knowledge, libxml2 SAX interface is a stream-based parser which means it will not parse the XML at a time as while into the memory space. I only searched out an API called xmlSchemaValidateStream, does it do the work?

I used to validate XML against xsd based on the DOM-structure parser provided by libxml2, and that one works fine.

1
  • Have a look at xmlSchemaSAXPlug. Commented Mar 11, 2024 at 12:21

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.