W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2010

[Bug 9922] xs:ID element as outermost element in document

From: <bugzilla@jessica.w3.org>
Date: Fri, 29 Oct 2010 16:24:26 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1PBrkg-000126-Qf@jessica.w3.org>

C. M. Sperberg-McQueen <cmsmcq@blackmesatech.com> changed:

           What    |Removed                     |Added
           Keywords|needsDrafting               |needsAgreement

--- Comment #4 from C. M. Sperberg-McQueen <cmsmcq@blackmesatech.com> 2010-10-29 16:24:25 UTC ---
We discussed this 29 October 2010.

There seem to be three possible resolutions:

1) top-level ID element is bad and is forbidden explicitly, so T1 and T2 are
both invalid.

2) top-level ID as element content is ignored, so T1 and T2 are both valid.

3) the ID table can take references to the document node, so a top-level ID is
an ID for the document node (as distinct from an ID for the root element). 
Then T1 is valid and T2 is invalid, because the ID 'abcd' now has two entries
in the ID table.  T2 is then parallel to

T3 <e><X id="abcd">abcd</X></e>

which is invalid now, because 'abcd' cannot be the ID both of e and of X.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 29 October 2010 16:24:28 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:11 UTC