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.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/
Received on Friday, 28 February 2003 05:47:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:36 GMT