W3C home > Mailing lists > Public > public-xml-core-wg@w3.org > July 2004

[references] fixup

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Wed, 14 Jul 2004 14:38:03 +0100
To: public-xml-core-wg <public-xml-core-wg@w3.org>
Message-ID: <f5b1xje7lqc.fsf@erasmus.inf.ed.ac.uk>

From last week's minutes:

  Regarding IDs and IDREFs, we have some reference fixup wording at:
  http://www.w3.org/TR/2004/CR-xinclude-20040413/#references-property
  but it needs slight modification to account for the fact that the
  references property is a list (at least, that's what the scribe
  thought was the issue).

  ACTION to Henry:  Suggest corrected wording for the above referenced
  section.

Further investigation convinced me that in fact the right thing to do
here is nothing.  The Infoset REC [1] reads:

   "[references] . . . If the type is IDREF or IDREFS and any of the
   IDs does not appear as the value of an ID attribute in the
   document. . .  then this property has no value or is unknown,
   depending on whether the [all declarations processed] property of
   the document information item is true or false. If the type is
   IDREF or IDREFS and any of the IDs appears as the value of more
   than one ID attribute in the document. . . then this property has
   no value.

The XInclude CR draft [2] reads:

   "If for any of the [[IDREF/IDREFS]] values, no element or more than
   one element is found, the [references] property has no value."

This seems sufficiently parallel to me to be fine as it stands.

ht

[1] http://www.w3.org/TR/xml-infoset/#infoitem.attribute
[2] http://www.w3.org/TR/2004/CR-xinclude-20040413/#references-property
-- 
 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 Wednesday, 14 July 2004 09:38:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:31 GMT