W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > October 1996

Re: C.14 Enumerations in attribute declarations?

From: Charles F. Goldfarb <Charles@SGMLsource.com>
Date: Fri, 25 Oct 1996 03:36:54 GMT
To: Robert Streich <streich@slb.com>
Cc: Michael Sperberg-McQueen <U35395@UICVM.UIC.EDU>, W3C SGML Working Group <w3c-sgml-wg@w3.org>
Message-ID: <32790b2e.18288534@mail.alink.net>
On Wed, 23 Oct 1996 02:28:53 -0500, Robert Streich <streich@slb.com> wrote:

>
>Although I very much want this behavior so that I don't have to explain
>to people why they have to use 1s and 0s in CALS table markup, I think we
>should defer it to a future version of XML once the SGML revision has
>been completed.

I agree with Robert -- multiple enumerations are desirable, but not worth
breaking conformance for. 

Another option would be to use the General Architecture "Lextype" declaration,
which is standardized:

<!attlist elemtype1 att1 nmtokens #implied att2 nmtokens #implied 
              lextype cdata #fixed "att1 YesOrNo att2 YesOrNo">

where "YesOrNo" is a lexical type name for which a model is defined in a
separate "lexical definition document". 


                                   
--
Charles F. Goldfarb * Information Management Consulting * +1(408)867-5553
           13075 Paramount Drive * Saratoga CA 95070 * USA
  International Standards Editor * ISO 8879 SGML * ISO/IEC 10744 HyTime
 Prentice-Hall Series Editor * CFG Series on Open Information Management
--
Received on Thursday, 24 October 1996 23:36:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:25:04 UTC