Namespaces in XML 1.0 3e: IDREF(S) and ENTITY(IES)

Hello,

there is a sentence below
http://www.w3.org/TR/2009/REC-xml-names-20091208/#dt-nv which says:

  * No attributes with a declared type of ID, IDREF(S), ENTITY(IES), or
NOTATION contain any colons.

Please consider changing that wording to:

  * No attributes with a declared type of ID, IDREF, IDREFS, ENTITY,
ENTITIES, or NOTATION contain any colons.


Reason:

If you expand “IDREF(S)” and “ENTITY(IES)” in the same way, you get
“IDREF, IDREFS”, and “ENTITY, ENTITYIES” (note the extra “Y”), which is
clearly wrong.

Even though the sentence follows from the definition for
‘namespace-valid’, and can thereby /probably/ be understood by humans as
it is meant, I suggest to clarify it by spelling out all possibilities,
especially due to the fact that you have to treat “IDREF(S)” and
“ENTITY(IES)” differently when reading.


Please let me know what you think about this proposal.

Thanks,
-- 
Nico

Received on Thursday, 11 February 2010 09:54:25 UTC