Lists Home |
Date Index |
On Friday 08 July 2005 12:21, 工程師媽媽 wrote:
> As I know:
> libxml2 supports schema validation in version 2.6.19.
> It uses xmlSchemaParserCtxtPtr->URL to specify URL of .xsd file to validate
> doc node.
> and stored the parsed schema in xmlSchemaParserCtxtPtr->schema
> But in my cases, I want to use libxml2 to validate SOAP messages
> against several schemas, such as soap2002.xsd，soap12.xsd，xenc-schema.xsd，
> and schema specified by Web Services itself.
> Does it possible to validate such kinds of SOAP messages using libxml2?
You mean keeping several schemas compiled and applying them to different
documents? Sure, at least as far as I know. But I'm not familiar with the C
API, so I suggest you ask on a more appropriate list, email@example.com:
There's also the API docs, found after a quick look: