Project

Profile

Help

Bug #4367

closed

Cannot find a 0-argument function named Q{http://saxon.sf.net/}line-number() with Saxon-PE/C product

Added by O'Neil Delpratt over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
PHP API
Start date:
2019-10-29
Due date:
% Done:

0%

Estimated time:
Found in version:
1.2.0
Fixed in version:
Platforms:

Description

Reported by user:

We have put saxon-license.lic file to the same directory where libsaxonpec.so exists and we have added SAXONC_HOME environment variable pointing to same dir.

When we try use, e.g. saxon:line-number() we get an error:

Static error in {saxon:line-number()} in expression in xsl:value-of/@select on line 167 column 57 of my_test.xsl:
XPST0017: Cannot find a 0-argument function named Q{http://saxon.sf.net/}line-number().
Calls to extension functions are not permitted without a Saxon license. Saxon extension functions require a Saxon-PE or Saxon-EE license.

saxonProc->version returns:

Saxon/C 1.2.0 running with Saxon-PE 9.9.1.5C from Saxonica

Please register to edit this issue

Also available in: Atom PDF