enumeration and defaults

Tim Bray tbray at textuality.com
Tue Sep 14 00:15:36 BST 1999


At 04:05 PM 9/13/99 -0400, Simon St.Laurent wrote:
>I received two separate replies to my question regarding enumeration and
>defaulting, one from Tim Bray, and one from John Cowan, which he's
>graciously let me post publicly.  They take opposite positions 

I just read both, and I think John's position and mine are completely
coherent.  In John's example:

> <!ATTLIST OL
>                compact (compact) #IMPLIED>
>such as is found in the DTD for XHTML 1.0 Transitional,
>means that either <OL> or <OL compact="compact"> is legal.

if you have <OL>, that means the compact attribute is not specified.
It does *not* mean that it's actually there but with a null value.
I'm pretty sure John would agree. -Tim

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/ and on CD-ROM/ISBN 981-02-3594-1
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