RE: Overloading functions in XSLT and XQuery

I agree that this has always been somewhat of a mystery to me.  As an
implementer, the built-in functions require me to code support for
overloaded functions.  Indeed, I have to do EXTRA work in my function
calling mechanism/compiler to NOT allow overloaded user-defined functions!

	-Todd

-----Original Message-----
From: public-qt-comments-request@w3.org
[mailto:public-qt-comments-request@w3.org] On Behalf Of Xavier C. Franc
Sent: Wednesday, September 17, 2003 2:30 PM
To: public-qt-comments@w3.org
Subject: Re: Overloading functions in XSLT and XQuery


 > Currently XSLT allows user function with same name but different
 > number of parameters (arity), but XQuery doesn't.
 > Why such difference? This feature might be as useful in XQuery as in
XSLT.

I don't see any reason for such a difference. After all,
some predefined functions and operators are overloaded,
so why not user functions ?

-- 
Xavier FRANC

Received on Wednesday, 17 September 2003 14:33:44 UTC