W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > May 1997

Re: Data types again

From: Gavin Nicol <gtn@eps.inso.com>
Date: Wed, 21 May 1997 09:43:08 -0400
Message-Id: <199705211343.JAA02024@nathaniel.ebt>
To: tbray@textuality.com
CC: w3c-sgml-wg@w3.org
>I have revised my paper on data typing at 
>
>[1] http://www.textuality.com/xml/typing.html

>DT-1. Should we propose a data typing mechanism as part of the XML work?

I vote against it unless it is a general solution.

>DT-2. Should the data typing mechanism be a separate paper in the WD-xml
> series rather than part of XML-lang?

Keep it out of XML-lang. This is an application issue, not a syntax 
issue.

>DT-3. Should the data typing be a universal/extensible regexp-based thing,
> (as proposed by Gavin Nicol and others) rather than a simple subset of
> of the SQL types as proposed in [1]?

>DT-4. Should data typing be provided for attribute values, not just
>content as proposed in [1]?

Yes.

>DT-5. Should data typing for the content of elements be applicable to
> mixed content as proposed in [2], as well as pure character data content
> as proposed in [1]?

No data typeing for mixed content, unless the XML content model rules are
extended so that one can bind the data format to the content model (could
break SGML compatability). As I said before, I feel this is an application
issue.

>DT-6. Should the primary attribute name be XML-TYPE as proposed in [2]
> rather than XML-SQLTYPE as proposed in [1]?

Yes.

>DT-7. Should the typing proposal include data value ranges as proposed
> in [1] (omitted in [2])?

Yes.

>DT-9. Should the numeric data types DECIMAL, INTEGER, and FLOAT use
> parameters designed to control the maximum datum size as in [2]'s
> XML-DIGITS, XML-DIGITS-R (both for DECIMAL and INTEGER) and 
> XML-BITS (for FLOAT) ([1] provides only SCALE, for DECIMAL, and
> nothing else).

Yes. Some definition of data size needs to be included.
Received on Wednesday, 21 May 1997 09:44:31 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:26 UTC