Project

Profile

Help

Bug #5678

open

Returning only the unconverted error object is burdonsome

Added by Norm Tovey-Walsh about 2 years ago. Updated 4 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2022-09-06
Due date:
% Done:

0%

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

Description

We say that the third argument to fn:error() is returned "unconverted".

That's pretty inconvenient for users. I think we should return a converted version as well, perhaps with the caveat that it's null if the conversion fails.

Actions #1

Updated by Michael Kay about 2 years ago

Note also there are a couple of typos on the cited documentation page: "this exception is throw", "an error trigged by a call", "internal functions calls with SaxonJS" (functions -> function, with -> within?)

Actions #2

Updated by Debbie Lockett 4 months ago

Re #note-1: I've belated fixed the typos (on saxonjs2 and main); and pushed the changes to the SaxonJS 2 documentation online.

Please register to edit this issue

Also available in: Atom PDF Tracking page