|
Re: Function signature: msg#00205text.xml.exist
Hi I believe getArgumentCount() is just talking about the number of declared arguments in the function, not about their cardinalities. On Thursday 23 September 2004 07:13, finder@xxxxxxxxxxxxxxxxxxxxx wrote: > which will correctly assess the number of required arguments in: > > fn:blah($a as xs:string, $b as xs:string*) > > (there is ONE required argument, not TWO). Objection: This does require two arguments, one of type string and one sequence of strings (the sequence may be empty, but there certainly has to be a sequence). fn:blah("123", ()) is a valid invokation fn:blah("123") is not! Sebastian -- Sebastian Bossung Software Systems (STS), Ab 4-02 Technische Universität Hamburg-Harburg Harburger Schlossstraße 20, 21071 Hamburg, Germany http://www.sts.tu-harburg.de ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | XUpdate specifications: 00205, Sergey Prohorenko |
|---|---|
| Next by Date: | Re: Function signature: 00205, Wolfgang Meier |
| Previous by Thread: | Function signaturei: 00205, finder |
| Next by Thread: | Re: Function signature: 00205, Wolfgang Meier |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |