Project

Profile

Help

Feature #4828

open

Request support for EXPath file functions

Added by Kurt Cagle over 1 year ago. Updated 9 days ago.

Status:
New
Priority:
High
Assignee:
-
Category:
-
Sprint/Milestone:
Start date:
2020-11-18
Due date:
% Done:

0%

Estimated time:
Applies to JS Branch:
2
Fix Committed on JS Branch:
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

Description

I'm making use specifically of the file:list() function, defined in EXSLT. It compilesand runs properly in Java Saxon but when I attempt to run it in saxon-js, I get the following error:

Static error in XPath in xslt/mfcFunctions.xslt {file:list($testNodes,true())}: Unknown function Q{http://expath.org/ns/file}list()

I'm using the namespace:

xmlns:file="http://expath.org/ns/file"

Any suggestions?

Actions #1

Updated by Michael Kay over 1 year ago

The EXPath file module is not currently implemented in Saxon-JS. (The same is true of the binary module). We hope to have these available in a future release.

Actions #2

Updated by Michael Kay over 1 year ago

  • Tracker changed from Bug to Feature
  • Subject changed from I am attempting to use an exslt function with saxon-js but will neither run nor compile to Request support for EXPath file functions

Recategorising this as a feature request. Note also, it is EXPath not EXSLT.

Actions #3

Updated by Community Admin over 1 year ago

  • Applies to JS Branch 2 added
  • Applies to JS Branch deleted (2.0)
Actions #5

Updated by Norm Tovey-Walsh 10 days ago

  • Priority changed from Normal to High
  • Sprint/Milestone set to SaxonJS 3.0
Actions #6

Updated by Conal Tuohy 9 days ago

Incidentally, this is an example of the kind of feature I had in mind in this other feature request: #5558

Actions #7

Updated by Michael Kay 9 days ago

This feature has been implemented and tested and is very likely to find its way into SaxonJS 3. For Node.js only, not in the browser.

Please register to edit this issue

Also available in: Atom PDF Tracking page