Project

Profile

Help

Feature #3441

closed

Asynchronous fetch for a list of documents

Added by Debbie Lockett about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Low
Category:
-
Sprint/Milestone:
-
Start date:
2017-09-13
Due date:
% Done:

100%

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

Description

At the moment, using ixsl:schedule-action/@document we can only fetch one document at a time. So when a number of documents are required before process X, we either need to use nested ixsl:schedule-action elements, which will only send fetch requests in series; or write some XSLT mechanism to do parallel fetches, storing information about which have returned, and then proceeding to process X once all fetches have returned.

It would be nice to allow the @document attribute to contain a list of documents to be fetched. Saxon-JS would send requests to fetch these documents in parallel, and the called template (for process X) would then be called once all fetch requests have returned.

Actions #1

Updated by Debbie Lockett about 7 years ago

  • Status changed from New to In Progress
  • Fix Committed on JS Branch 1.0, Trunk added

Implemented on 1.0 and trunk branches: ixsl:schedule-action/@document is now allowed to be a space separated list.

See JS unit test ixsl2/schedule04.

Documentation to be updated.

Actions #2

Updated by Debbie Lockett about 7 years ago

  • Status changed from In Progress to Resolved

Documentation change committed on svn, and will be updated online with the next maintenance release.

Actions #3

Updated by Debbie Lockett about 7 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in JS Release set to Saxon-JS 1.0.2

Bug fix applied in Saxon-JS 1.0.2 maintenance release.

Please register to edit this issue

Also available in: Atom PDF Tracking page