Actions
Bug #6574
closedlibc++abi: terminating due to uncaught exception of type SaxonApiException: std::exception
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()
.
Updated by O'Neil Delpratt about 1 month ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
- Applies to branch 12, trunk added
Bug fixed in the XdmItem.getStringValue()
method in the PHP cpde php8_Saxon.cpp file.
We are now using a try catch block.
Please register to edit this issue
Actions