Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Why no error message when xs:include fails? Why no error message when xs:include fails?To: NULL Date: 7/12/2008 2:06:00 PM
Hi,
To validate XML against an XMLSchema in MSXML6 i use the Schema Cache. My
XMLSchema ('example.xsd') contains an 'include' of another XMLSchema:
<xsd:include schemaLocation="whatever.xsd"></xsd:include>
To add my schema to the schema cache i do this:
XMLDOMSchemaCache := CoXMLSchemaCache60.Create();
XMLDOMSchemaCache.add('', 'example.xsd');
When the included XMLSchema "whatever.xsd" does *not* exists, *no* exception
is raised when i add "example.xsd". Why is this? How can i be sure the
included schema is actually included?
thanks,
- Gerben Abbink
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
