enumeration and defaults

Simon St.Laurent simonstl at simonstl.com
Mon Sep 13 21:58:52 BST 1999

For the record, this does have an impact on XHTML (potentially significant,
at that), but is not about namespaces or W3C process, and I'd like to keep
it that way.  However, I am using the XML-dev archives for reference,
hoping to reduce the byte-volume of the list and see how well it works.

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 on an issue
with XML 1.0 that has an impact on the current XHTML's formulation, at
least in the transitional and frameset varieties.

My original question:
(basically, is it legit to use #IMPLIED on the declaration for an
enumerated attribute type and NOT specify a value in the document.)

At 05:22 PM 9/10/99 -0400, John Cowan wrote:
(basically, yes. XHTML does it.)

At 02:32 PM 9/10/99 -0700, Tim Bray wrote:
(basically, no, but it would be nice to see in schemas.)

The relevant references for XHTML, if anyone needs them, are at:
(search for ATTLIST ul to get to a section where this matters)

I think we have a use-case staring us in the face, in a DTD. Does this mean
that XHTML is wrong, or that the more generous interpretation (John
Cowan's) holds?

Simon St.Laurent
XML: A Primer (2nd Ed - September)
Building XML Applications
Inside XML DTDs: Scientific and Technical
Sharing Bandwidth / Cookies

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