Actions
Bug #5109
closedclearParameter failing XSLT processor
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:
-
XsltProcessor: You could set the source via file, if possible in your application. i.e: $saxonXsltProc->setSourceFromFile($sourceXml);
-
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.
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
Actions