External function binding is not working in XQilla 2.3.4. The same issue has also been reported in the following thread: https://sourceforge.net/p/xqilla/mailman/message/34135445/. It seems that the functionality had become broken when 2.3.3 was released, and it's still not fixed.
The problem is that the lookup key format has been changed in FunctionLookup::lookUpExternalFunction()
from
key.set(fname); key.append(URI);
to
key.set(fname); key.append(':'); key.append(URI);
However, ExternalFunction::ExternalFunction
didn't follow this format when creating uriName_
and therefore the lookup is always unsuccessful.
The issue can be fixed by adding buf.append(':')
to ExternalFunction::ExternalFunction()
at the proper place.
Best regards,
Benjamin