Lists Home |
Date Index |
> I think that the data types of XML Schema Part 2 would have
> to be a given.
I think that if one wanted to, one could define something that was
recognizably XQuery using any set of atomic types that provides
booleans, strings, and some kind of number. All that's needed is to
associate the semantics of functions and operators with the chosen set
of types, and decouple them from the language syntax, so that a
different set of types gives you a slightly different set of functions
and operators (or slightly different semantics for the same operators).
Many of the problems in glueing XQuery/XPath to XML Schema have arisen,
of course, because the XML Schema types had no behaviors defined, or
because the behaviors they did define (such as equality and ordering)
were inappropriate for query purposes.