W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2003

Re: XML validation fails when schema includes another schema

From: Jeni Tennison <jeni@jenitennison.com>
Date: Fri, 28 Feb 2003 10:46:31 +0000
Message-ID: <13057291901.20030228104631@jenitennison.com>
To: ron@high-valley.com
CC: xmlschema-dev@w3.org

Hi Ron,

> Using MSXML4 SP1, I am unable to validate a document that XMLSpy 5
> can validate just fine. I have narrowed it down to the use of
> xs:include. If my schema includes another schema a validation error
> is returned that says:
> "The element 'RealTimeSIRequest' is used but not declared in the DTD/Schema"
> Can someone eyeball the schema and see if they see anything wrong?

Once I fixed the well-formedness errors in the instance document and
the included schema, this seemed to work fine. The wellformedness
errors were a typo in the end tag </VisaCaseNumber> (should be
</CaseNumber>) in the instance and a ' rather than a " closing the
xmlns:vsi attribute in TestSharedNoInclude.xsd schema.

But then, when these errors were present, I didn't get the error you
have above, so possibly the XML you posted wasn't the same that you
used. Or there might be something funny in the way that you're
invoking MSXML's validation.



Jeni Tennison
Received on Friday, 28 February 2003 05:47:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:09 UTC