Project

Profile

Help

Bug #3050

closed

EXPath Archive functions

Added by Debbie Lockett almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Documentation
Sprint/Milestone:
-
Start date:
2016-11-30
Due date:
% Done:

100%

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

Description

As raised on the help list; the following EXPath Archive functions are documented (from 9.6), but not implemented:

from-files

text

to-files

xml

http://www.saxonica.com/documentation/index.html#!functions/expath-archive

Actions #1

Updated by John Lumley almost 8 years ago

  • Assignee set to John Lumley

The EXPath Archive standard reached an intermediate draft state that didn't progress any further in the Spring of 2014. Unfortunately I created anticipatory Saxon documentation which linked to (unimplemented) functions in that draft - specifically the four you mentioned. Until the standard is better defined (and we'll work on it), our implementation won't have them specifically, and we'll drop them from the documentation.

However, these four functions are all convenience rather than fundamental functions, as the draft standard shows, and can all be implemented by compound XPath/XSLT actions, building on other Archive functions and others from EXPath File. For http://expath.org/spec/archive/editor#fn.from.files, http://expath.org/spec/archive/editor#fn.to.files and http://expath.org/spec/archive/editor#fn.xml the draft contains suitable code samples. (If you're in pure XPath you'll need to use let constructs for the intermediates). For http://expath.org/spec/archive/editor#fn.text, unless you anticipate having to process empty sequence arguments, bin:encode-string() will suffice.

Actions #2

Updated by Debbie Lockett almost 8 years ago

  • Category set to Documentation
  • Status changed from New to Resolved
  • Applies to branch 9.8 added
  • Fix Committed on Branch 9.6, 9.7, 9.8 added

As suggested above, the unimplemented functions have now been removed from the documentation (for 9.7 and 9.6 in the archives and online, and also the 9.8 dev branch).

Actions #3

Updated by O'Neil Delpratt almost 8 years ago

  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 9.7.0.15 added

Bug fix applied to the Saxon 9.7.0.15 maintenance release. Close bug issue when patch applied to 9.6 maintenance release

Actions #4

Updated by O'Neil Delpratt over 7 years ago

  • Status changed from Resolved to Closed
  • Fixed in Maintenance Release 9.7.0.18 added
  • Fixed in Maintenance Release deleted (9.7.0.15)

Bug fix applied in the Saxon 9.7.0.18 maintenance release.

Actions #5

Updated by O'Neil Delpratt over 7 years ago

  • Applies to branch trunk added
  • Applies to branch deleted (9.8)
Actions #6

Updated by O'Neil Delpratt over 7 years ago

  • Fix Committed on Branch trunk added
  • Fix Committed on Branch deleted (9.8)

Please register to edit this issue

Also available in: Atom PDF