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

Re: C.12 types of declared values for attributes?

From: David G. Durand <dgd@cs.bu.edu>
Date: Fri, 25 Oct 1996 10:48:03 -0400
Message-Id: <v02130506ae9681c2cd38@[]>
To: w3c-sgml-wg@w3.org
>I agree.  You can always use CDATA instead and kludge it in the application.
>I would argue, in fact, that XML might as well not have an ID attribute
>type at all.  Just CDATA.  Then have an application convention that a
>string in an attribute of the form ref.xxx refers to a corresponding
>(case sensitive) string in an attribute of the form ref.xxx, where the xxx
>must be the same in both cases.

I prefer this to any of the options we have discussed. We should eliminate
ID/IDREF altogether, add Lee's application convention, and generate
warnings for attbitues called "ref.whatever" whose value does not occur on
as the value of a "whatever" attribute elsewhere in the document.

We can add ID/IDREF declarations once SGML97 comes out. XML need never have
them, but the SGML import process will be able to create them

>This proposal works without a DTD, and with a DTD gives documents that
>parse correctly in SGML.

Exactly! very nice!

   -- David

RE delenda est.
I am not a number. I am an undefined character.
David Durand              dgd@cs.bu.edu  \  david@dynamicDiagrams.com
Boston University Computer Science        \  Sr. Analyst
http://www.cs.bu.edu/students/grads/dgd/   \  Dynamic Diagrams
--------------------------------------------\  http://dynamicDiagrams.com/
MAPA: mapping for the WWW                    \__________________________
Received on Friday, 25 October 1996 10:43:15 UTC

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