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

[Bug 2259] [xqueryx] xqx:constructorFunctionExpr

From: <bugzilla@wiggum.w3.org>
Date: Tue, 20 Sep 2005 11:01:01 +0000
To: public-qt-comments@w3.org
Message-Id: <E1EHfrx-0005bx-71@wiggum.w3.org>


------- Additional Comments From mike@saxonica.com  2005-09-20 11:00 -------
The semantic distinction between constructor functions and other functions is
presumably that constructor functions have their own static type inferencing
rules. In all other respects I think they can be treated as ordinary functions.
And there are functions in the core library that have their own static type
inferencing rules as well.

It seems to me that a translator from XQuery to XQueryX shouldn't be required to
have the rather deep level of semantic knowledge that's needed to distinguish
the two cases. So I'm inclined to agree with David.

Michael Kay
Received on Tuesday, 20 September 2005 11:02:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:08 UTC