Project

Profile

Help

Bug #3790

closed

Saxon-JS documentation app search problems

Added by Debbie Lockett over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Low
Category:
-
Sprint/Milestone:
-
Start date:
2018-05-17
Due date:
% Done:

100%

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

Description

In the documentation app, we search for the supplied search term in all the section documents using substring matching with fn:contains(), but then highlight using regex pattern matching with xsl:analyze-string. Unsurprisingly, this can produce some dodgy results (e.g. searching for "." means all text gets highlighted; searching for "?" results in an uncaught Saxon-JS error "Invalid regular expression /?/").


Related issues

Related to SaxonJS - Bug #3910: Error using fn:replace() with "q" flag when search string contains "-" characterClosedDebbie Lockett2018-09-19

Actions

Please register to edit this issue

Also available in: Atom PDF Tracking page