ID attribute defaults

John Cowan cowan at locke.ccil.org
Thu Nov 12 20:06:34 GMT 1998


W. Eliot Kimber wrote:

> It's my personal feeling that the inability to provide defaults for ID,
> IDREF(S), and ENTITY(IES) attributes is a bug (in SGML unavoidably
> inherited by XML).

There is no evidence for the presence of such a constraint in XML;
the relevant clause (3.3.2) is silent.  Clause 3.3.1 does require
that ID attributes have a default of either #IMPLIED or #REQUIRED,
but no restrictions are placed on IDREF, IDREFS, ENTITY, or ENTITIES,
so they may have default values in XML.

-- 
John Cowan	http://www.ccil.org/~cowan		cowan at ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list