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


Hi,
 
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
Expecting:
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,
Ranjith.

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