[Bug 2259] [xqueryx] xqx:constructorFunctionExpr

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2259





------- 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