[Home] [By Thread] [By Date] [Recent Entries]


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, xml@g...:

http://mail.gnome.org/mailman/listinfo/xml

There's also the API docs, found after a quick look:

http://www.xmlsoft.org/html/index.html


Cheers,

		Frans

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member