setBaseOutputURI missing from XSLT API
Reported by user: https://saxonica.plan.io/boards/4/topics/7698
The setting of the base output URI is missing from XSLT for working with secondary documents.
Updated by O'Neil Delpratt over 4 years ago
- Status changed from New to In Progress
The setter method requires some changes in the Saxon/C Java code to accept the base output URI property. I have made the changes to
XsltProcessor and Xslt30Processor`.
setter method required in C++, PHP and Python
Updated by sébastien bocahu over 3 years ago
IIUC, setting a base output uri is now mandatory ? I can't understand why we need to set such a param for a function that returns a string ($xsltProc->transformToString()) but I am not a XSL/PHP developer.
Nevertheless, it seems that PHP/XSL code that was working flawlessly with Saxon-C 1.1.2 now returns "net.sf.saxon.s9api.SaxonApiException : The system identifier of the principal output file is unknown".
I can't find setBaseURI() function for XsltProcessor (only declared for XPath & XQuery) in 1.2.1 code so I guess we need to wait 1.2.2. Or is the source code open and available anywhere ?
In any case, this issue + #4371 makes Saxon-C/PHP totally unusable.
Updated by O'Neil Delpratt over 3 years ago
The fix to setBaseOutputURI is mentioned here: https://saxonica.plan.io/issues/4410?pn=1#change-14640
Please register to edit this issue