Project

Profile

Help

Bug #4679

closed

Saxon\XSLT30Processor::transformToString() expects exactly 1 parameter, 0 given

Added by O'Neil Delpratt almost 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
PHP API
Start date:
2020-08-12
Due date:
% Done:

100%

Estimated time:
Found in version:
1.2.1
Fixed in version:
11.1
Platforms:

Description

Reporte by user:

In the function exampleSimple1 given in the samples Xslt30Examples.php, the transformToString() function is called without a parameter, while one can be provided. The documentation states:

The global context item may be supplied in the $context argument.

The context MAY be supplied, so its optional. However, when I run the function without a parameter, I get an error message stating that the function expects 1 parameter, and zero are given. Exactly the same issue applies when invoking the transformToFile() function without a parameter.

Please register to edit this issue

Also available in: Atom PDF