Bug #4395
closedsetBaseOutputURI missing from XSLT API
100%
Description
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.
Related issues
Updated by O'Neil Delpratt almost 5 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 O'Neil Delpratt almost 5 years ago
- Status changed from In Progress to Resolved
Functions added to C++, PHP and Python. In python the keyword argument base_output_uri is available for the stylesheet execution function.
Updated by sébastien bocahu about 4 years ago
Hi,
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 about 4 years ago
The fix to setBaseOutputURI is mentioned here: https://saxonica.plan.io/issues/4410?pn=1#change-14640
Updated by O'Neil Delpratt almost 3 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in version set to 11.1
Bug fix patched in SaxonC 11.1 release
Updated by O'Neil Delpratt over 2 years ago
- Related to Support #5029: setting result document added
Please register to edit this issue