OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Does libxml2 support multiple schemas?

[ Lists Home | Date Index | Thread 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, xml@gnome.org:

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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS