Project

Profile

Help

Bug #5109

clearParameter failing XSLT processor

Added by O'Neil Delpratt 20 days ago. Updated 20 days ago.

Status:
New
Priority:
Normal
Category:
C++ API
Start date:
2021-09-28
Due date:
% Done:

0%

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

Description

The clearParamters() is removing the source node set on the Xslt Processor. This is not documented. The option is to change the design of the method or the name of the method and document the correct behaviour.

In the meanwhile as a workaround there are a couple of options:

  1. XsltProcessor: You could set the source via file, if possible in your application. i.e: $saxonXsltProc->setSourceFromFile($sourceXml);

  2. You could use the Xslt30Processor if you are using XSLT 3.0 stylesheet: This class has the option to supply the XdmNode source object directly on the transformToString method.

Please register to edit this issue

Also available in: Atom PDF