Project

Profile

Help

Bug #5109

closed

clearParameter failing XSLT processor

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

Status:
Won't fix
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.

Actions #1

Updated by O'Neil Delpratt about 2 years ago

  • Status changed from New to Won't fix

We have dropped the XsltProcessor in SaxonC 11, therefore I am closing this bug issue as Won't fix

Please register to edit this issue

Also available in: Atom PDF