Hi Christian,

 

Yes, the bug doesn’t occur anymore. Excellent work, as allways. 😊

Thanx.

 

Best,

Rob

 

Sent from Mail for Windows

 

From: Christian Grün
Sent: Monday, January 30, 2023 11:19 PM
To: Rob Stapper
Cc: basex-talk@mailman.uni-konstanz.de
Subject: Re: [basex-talk] bug in BaseX104 with function arity determination

 

The bug was introduced with BaseX 10.1.

A snapshot with a bug fix is available [1].

 

Best,

Christian

 

[1] https://files.basex.org/releases/latest/

 

 

 

On Mon, Jan 30, 2023 at 4:10 PM Rob Stapper <r.stapper@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 for Windows

 

 

Virus-free.www.avast.com