Project

Profile

Help

Bug #2299

closed

Saxon-EE rejects recursive XQuery function, when there is no license file

Added by Gunther Rademacher almost 10 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Build and release
Sprint/Milestone:
Start date:
2015-01-23
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.6
Fix Committed on Branch:
9.6
Fixed in Maintenance Release:
Platforms:

Description

This command line XQuery works with Saxon-EE-9.5.1.8, even when there is no license file around:

java net.sf.saxon.Query -qs:"declare function local:fac($n) {if ($n le 1) then 1 else $n * local:fac($n - 1)}; local:fac(7)"

When using 9.6, it is rejected like this

No license file found - running with licensable features disabled
Query processing failed: License file saxon-license.lic not found. Tried in file:/.../saxon-license.lic, and classpath. A license is needed to use Reflexive extension functions

but it does not actually use reflexive extension functions or other licensable features.

Please register to edit this issue

Also available in: Atom PDF