|
Function signature: msg#00200text.xml.exist
I propose the following change to FunctionSignature.java: Index: src/org/exist/xquery/FunctionSignature.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/xquery/FunctionSignature.java,v retrieving revision 1.1 diff -r1.1 FunctionSignature.java 88c88,95 < return arguments != null ? arguments.length : 0; --- if (arguments == null || arguments.length == 0) 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). I'll commit if there are no objections... ------------------------------------------------------- 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: Indexing technology: 00200, creativor |
|---|---|
| Next by Date: | FunctionSignature: 00200, finder |
| Previous by Thread: | xml:db apii: 00200, tizo |
| Next by Thread: | Re: Function signature: 00200, Sebastian Bossung |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |