Hi Rob, Thanks for the bug report, I’ve created a new issue [1]. We’ll try to fix this soon.
Best, Christian [1] https://github.com/BaseXdb/basex/issues/2166 On Mon, Jan 30, 2023 at 4:10 PM Rob Stapper <r.stap...@lijbrandt.nl> wrote: > Hi Christian, > > > > See attachment. > > > > When running, function ‘local:test1a’ triggers an error: ‘[XPTY0004] 2 > arguments supplied, 3 expected: $f’. > > It looks like the arity of a function is incorrectly determined when > called with a partial parameter set. > > ‘function ‘local:test1b’ is a workaround. > > > > Can you please have a look at this? > > > > Thanx in advance, > > Rob Stapper > > > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > Windows > > > > > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> > Virus-free.www.avast.com > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> > <#m_-3892421310976342755_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >