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


Help: OASIS Mailing Lists Help | MarkMail Help



   Validation with MSXML - XML against XSD

[ Lists Home | Date Index | Thread Index ]

I have a file which is valid in XMLSPY5 but I am unable to validate it using MSXML4. I have a schema cache in which I am defining both the Schema definitions used in my XML File. However I get the parseError that the Parser expects elements in an order.
I have a SchemaDerived.xsd which has a reference to the SchemaBase.xsd.
In the schema Cache I added the two schemas as follows
schemaCache.Add "http://www.example.com/SchemaDerived", "SchemaDerived.xsd"
schemaCache.Add "http://www.example.com/SchemaBase", "SchemaBase.xsd"
Error Message: Element content is invalid according to the DTD/Schema
1. Elements defined in SchemaBase.xsd
2. Elements defined in SchemaDerived.xsd
What am I missing here?
Any input in this regard would be helpful.
Thank you,


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

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