Project

Profile

Help

Bug #2461

closed

Xslt30Transformer: getting raw template results

Added by Michael Kay about 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
s9api API
Sprint/Milestone:
Start date:
2015-09-29
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.6
Fix Committed on Branch:
9.6
Fixed in Maintenance Release:
Platforms:

Description

On the Xslt30Transformer class, the methods

applyTemplates(Source) -> XdmValue

applyTemplates(XdmValue) -> XdmValue

callTemplate(QName) -> XdmValue

should return the "raw" result of the initial template, without it being wrapped in a document node. This is not working; wrapping in a document node is always attempted.

A patch is being committed for the 9.6 branch (class Controller). New JUnit tests have been added to TestXslt30Transformer.

Please register to edit this issue

Also available in: Atom PDF