Our Java application uses Saxon-B and we are planning to switch to Saxon-PE .  In order to test the compatibility of our application with the latter I switched libraries to Saxon-PE .

Unfortunately when running our unit tests I get the following error :

[junit] Error on line 47 of some_file.xqy:
[junit]   XPST0017: Cannot find a matching 1-argument function named {http://saxon.sf.net/}path()

despite the fact that some_file.xqy has

declare namespace saxon="http://saxon.sf.net/";

at the beginning.

According to http://www.saxonica.com/documentation/extensions/functions.html the saxon:path function should be available, did I miss something ?

Best regards,
Stéphane Vilboux
Software developer