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

Re: keyref with empty sets

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Fri, 28 May 2004 18:36:09 +0100
To: "Michael Kay" <mhk@mhk.me.uk>
Cc: "'Nigel Hardy'" <nwh@aber.ac.uk>, <xmlschema-dev@w3.org>
Message-ID: <f5blljclaie.fsf@erasmus.inf.ed.ac.uk>

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


> In other words it only makes sense to define a keyref on either
> the same element as the key, or an ancestor of it.

Correct.  And his schema does that -- the key is defined on User,
which occurs within Admin.  The absence of any actual User elements in
an instance shouldn't matter, as long as there are no keyref matches
either. . .

More later, my Friday is over as far as work is concerned.

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 Friday, 28 May 2004 13:36:19 GMT

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