Project

Profile

Help

Bug #6356

closed

ArgumentCountError: Wrong parameter count for Saxon\XSLTExecutable::applyTemplatesReturningFile()

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

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

100%

Estimated time:
Found in version:
12.4.2
Fixed in version:
Platforms:

Description

Simple PHP script $executable->applyTemplatesReturningFile("output123.xml") where we pass the output file name fails with the following error:

ArgumentCountError: Wrong parameter count for Saxon\XSLTExecutable::applyTemplatesReturningFile()
Actions #1

Updated by O'Neil Delpratt 2 months ago

Bug fixed in the applyTemplatesReturningFile method where we check the arguments in php8_XsltExecutable.cpp file.

The workaround is to set the output file using the setOutputFile method.

Actions #2

Updated by O'Neil Delpratt 2 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Please register to edit this issue

Also available in: Atom PDF