|
Re: Function signature: msg#00206text.xml.exist
Yes, sorry. Sebastian is right. I didn't see that. The cardinality is a property of the argument, not of the function. Every argument has a cardinality. Wolfgang On Thursday 23 September 2004 07:55 pm, Sebastian Bossung wrote: > 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 ------------------------------------------------------- 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: | Re: Function signature: 00206, Sebastian Bossung |
|---|---|
| Next by Date: | Re: XUpdate specifications: 00206, Wolfgang Meier |
| Previous by Thread: | Re: Function signaturei: 00206, Sebastian Bossung |
| Next by Thread: | FunctionSignature: 00206, finder |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |