Project

Profile

Help

Bug #6574

closed

libc++abi: terminating due to uncaught exception of type SaxonApiException: std::exception

Added by O'Neil Delpratt about 2 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Category:
PHP Extension function
Start date:
2024-10-30
Due date:
% Done:

100%

Estimated time:
Applies to branch:
12, trunk
Fix Committed on Branch:
12, trunk
Fixed in Maintenance Release:
Found in version:
12.5
Fixed in version:
SaxonC Languages:
PHP
SaxonC Platforms:
All
SaxonC Architecture:

Description

The following PPH script which tries to call getStrongValue on a XdmItem object which is a XdmArray object crashes with the following exception:

libc++abi: terminating due to uncaught exception of type SaxonApiException: std::exception

This is because an Array has no string value. Therefore the PHP extension should have a try catch block in the XdmItem.getStringValue().

Please register to edit this issue

Also available in: Atom PDF