W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2004

RE: Cross-references among included schema documents

From: Michael Kay <mhk@mhk.me.uk>
Date: Mon, 27 Sep 2004 11:20:57 +0100
To: "'Henry S. Thompson'" <ht@inf.ed.ac.uk>
Cc: <xmlschema-dev@w3.org>
Message-ID: <E1CBsdP-0007PA-Qa@frink.w3.org>

> > So you are telling me that the statement in 3.15.3, "For a 
> .QName. to
> > resolve to a schema component of a specified kind all of 
> the following must
> > be true:" is wrong? The first condition below that 
> statement reads: "That
> > component is a member of the value of the appropriate 
> property of the
> > schema...". Is this condition completely wrong, should I 
> ignore it totally,
> > or does it have some residual meaning? 
> It means exactly what it says.  It's just that the resolution to which
> it applies may be _delayed_, per the quotes you and I have exchanged.

But delaying the resolution doesn't change the outcome. If B contains a
QName that identifies a component defined in C, and if B doesn't itself
include or import C, then the rule tells me that the QName doesn't resolve,
and I can't see how delaying the attempt at resolution changes this. The
only way I can get the name to resolve is by using a different schema from
the one specified in the rule, namely the schema corresponding to schema
document A (which includes B and C). The rule as written doesn't allow me to
do that.

Michael Kay
Received on Monday, 27 September 2004 10:21:31 UTC

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