Project

Profile

Help

Bug #6506

closed

Passing a buffer as the sourceText to SaxonJS.transform gives a nasty error

Added by Norm Tovey-Walsh 3 months ago. Updated 11 days ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2024-08-13
Due date:
% Done:

50%

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

Description

You're supposed to pass a string, but if you pass a buffer it crashes out with a really nasty error message. We should accept a buffer and/or test that it's a string and give a reasonable error message.

Please register to edit this issue

Also available in: Atom PDF Tracking page