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

Re: Impact of the usage of unique identifier as URN into XML docu ment s ?

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Mon, 15 Mar 2004 19:56:37 +0000
To: Hess Yvan <yvan.hess@imtf.ch>
Cc: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Message-ID: <f5bekrtg9ze.fsf@erasmus.inf.ed.ac.uk>

If document is the document element of your documents (:-), then the
key is doing no work that isn't already being done by the fact that
the 'id' attribute is required.  The 'key' identity constraint simply
requires every selected element (in our case there can be only one) to
have a single unique value for the field path -- that will always be
true for your documents.

If you want your 'id' element to be a possible target for
XPointer-specified links, then the legacy ID type is what you want,
and you'll have to change your syntax to be compatible with that type.

 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, 15 March 2004 14:57:11 UTC

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