Actions
Bug #3910
closedError using fn:replace() with "q" flag when search string contains "-" character
Start date:
2018-09-19
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
In the browser, Saxon-JS 1.1.0 crashes with "Uncaught SyntaxError" when fn:replace() is used (at run-time) with the "q" flag, and the replacement string contains the "-" character.
For example, replace('Saxon-JS', '-', '*', 'q')
fails at run-time. (Note that to force this to be evaluated at run-time rather than compile-time, you should supply some args as parameters.)
Related issues
Please register to edit this issue
Actions
Also available in: Atom PDF Tracking page