On Sat, Jul 16, 2005 at 02:01:25AM +0800, 工程師媽媽 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?

  No idea as I don't understand the question.
You can validate a document tree against as many schemas as you want.
Each may return a different validity status in isolation.
I have no idea how SOAP is supposed to be validated nor how the 
.xsd you named are supposed to be used.

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to