RE: [xml-dev] Iceberg development (was Re: [xml-dev] maps)

From
Jeff Lowery <>
To
"'Simon St.Laurent'" <>,
Date
2002-08-06T16:50:19Z
ID
<>
Thread
RE: [xml-dev] Iceberg development (was Re: [xml-dev] maps)
How about a hybrid system? It would include a set of universal types such as
{integer, real, time, PI, imaginary} whose value spaces are well-understood
mathematically. But it would not include lexical representations, or value
spaces that are restricted by a domain, such as program language or machine.

In order to validate a universal type, a constraint system would have to be
applied that defined the lexical and value space (range) that is applicable
to a specific program environment. It's like a locale for types. Locales
would be comparable, so that you could determine programmatically how the
lexical/range definitions of one locale intersect another. You would then
know which out-of-bounds conditions are possible.

There could be a set of well-known type locales for languages/systems that
can be reused by applications.

There would have to be an additional mechanism for defining compound types
that are represented atomically (e.g., date).