Project

Profile

Help

Bug #3095

closed

XPath.evaluate requires platform initialisation

Added by John Lumley almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2017-01-03
Due date:
% Done:

100%

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

Description

Running XPath.evaluate() requires the polyfill functions loaded (such as Math.trunc@) from @BrowserPlatform.initalize()@. Currently this action is not performed by @XPath.evaluate() (but it is by @SaxonJS.transform()@) and requires a deliberate

SaxonJS.getPlatform().initialize({});

beforehand. Preferably this should be triggered from within XPath.evaluate() but only once.

Please register to edit this issue

Also available in: Atom PDF Tracking page