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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=9922

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