W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2005

[Bug 1261] [XQuery] Meta type for Sequence Type

From: <bugzilla@wiggum.w3.org>
Date: Wed, 20 Apr 2005 13:23:55 +0000
To: public-qt-comments@w3.org
Message-Id: <E1DOFBL-0005ZQ-W4@wiggum.w3.org>


------- Additional Comments From mike@saxonica.com  2005-04-20 13:23 -------
There are two comments here:

(a) should types be first-class values (in the same way as many programming
languages make Class a subclass of Object). This would also allow schema (or
metadata) introspection in the same way as SQL and other database languages
permit. The answer to this is yes, it should eventually be allowed, and it was a
conscious decision to rule this out of scope for XQuery version 1.

(b) should it be possible to declare the type of a variable or function
dynamically? The answer is that this might make sense but only in the context of
a dynamic evaluation capability (constructing XPath expressions from strings at
run-time), which is something that again the WGs decided was out of scope for
this round (the XSL WG in particular spent considerable time on this as the
feature has often been requested.)

Michael Kay (personal response)
Received on Wednesday, 20 April 2005 13:23:57 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:23 UTC