Why XML data typing is hard
Tim Bray
tbray at textuality.com
Mon Nov 30 18:51:00 GMT 1998
At 05:59 PM 11/30/98 +0000, Henry S. Thompson wrote:
>Basically I agree that we're not talking datatypes, we're talking
>lexical types
...
>Is the latter an indication of a plausable way forward, i.e. lexical
>types which are parameterised by (natural) language?
It's good that we're distinguishing between lexical types and datatypes.
With real datatypes, it seems that we ought to be able to hard-wire
the syntax - i.e. say that for FIXED or FLOAT data types, the following
decimal delimiter is always used, for DATE it's always ISO8601, and
so on. The idea being that this kind of thing, in a production type
app, is going to be run through software machinery at both ends, such
that on the screen, a Francophone will see 4,50 and and Anglophone 4.50,
so it doesn't matter that much what's between the tags.
It seems to me that this kind of hardwired datatyping is in greater
short-term demand and is also easier to implement efficiently than
lexical typing, thus that's where I'd start; but reasonable people
may disagree. -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/
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