Project

Profile

Help

Bug #6356

closed

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

Added by O'Neil Delpratt 10 months ago. Updated 6 months ago.

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

100%

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

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 10 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 10 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by O'Neil Delpratt 6 months ago

  • Status changed from Resolved to Closed
  • Fixed in version set to 12.5

Bug fix applied in the Saxon 12.5 Maintenance release.

Actions #4

Updated by Community Admin 6 months ago

  • Fix Committed on Branch 12 added

Please register to edit this issue

Also available in: Atom PDF