Actions
Bug #6358
closedexception not thrown for executable->transformToString() if source is null
Start date:
2024-02-22
Due date:
% Done:
100%
Estimated time:
Found in version:
12.4.2
Fixed in version:
Platforms:
Description
I have noticed in the following PHP code that the underlying exception is not thrown, but $result is just returned as NULL:
$transformer = self::$saxonProc->newXslt30Processor();
$foo_xml = "trax/xml/foo.xml";
$executable = $transformer->compileFromAssociatedFile($foo_xml);
$executable->setInitialMatchSelectionAsFile($foo_xml);
$result = $executable->transformToString()
What is happening is the C++ transformToString
is not throwing the exception found.
Updated by O'Neil Delpratt 2 months ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Bug fixed and committed to the repository
Please register to edit this issue
Actions