saxon:next-in-chain is not working in Saxon 9.6
Added JUnit test JAXPTests/SerializerTests/tetNextInChain.
#1 Updated by Michael Kay almost 5 years ago
- Status changed from New to Resolved
Patched on the 9.6 and 9.7 branches, and unit tested. The fix is in two parts: (a) for an unnamed xsl:output element, the work is done in the s9api XsltTransformer class; when setting a Destination object, if saxon:next-in-chain was specified in the stylesheet, then the requested transformation is interposed before the specified Destination. (b) for xsl:result-document, both with and without the "href", with a named xsl:output declaration, the work is done in SerializerFactory and SerializerFactoryPE.
Note that saxon:next-in-chain is not supported when the Xslt30Transformer class is used, as it gets very messy, and there are much simpler ways now of setting up a chain of transformations. A warning is issued saying the attribute is ignored.
Please register to edit this issue