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

Re: Cross-references among included schema documents

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Mon, 27 Sep 2004 13:35:33 +0100
To: "Michael Kay" <mhk@mhk.me.uk>
Cc: <xmlschema-dev@w3.org>
Message-ID: <f5bu0tj28kq.fsf@erasmus.inf.ed.ac.uk>

"Michael Kay" <mhk@mhk.me.uk> writes:

> 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.

It allows you to do so in the context of the schema corresponding to
A.  Stipulate that in the schema corresponding to B, in a component
BED, the reference is unresolved.  That doesn't prevent the
construction of the schema corresponding to A, which, as a consequence
of including B, incorporates a component isomorphic to BED, call it
AED, in which the unresolved reference is preserved, but then
resolved.

ht
-- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
Received on Monday, 27 September 2004 12:35:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:06 UTC