Bug #1084
closedThe xsl:character-map feature ignored for DOMResult
0%
Description
SourceForge user: fanningpj
I have found that the xsl:character-map feature is applied if you transform to a StreamResult but not to a DOMResult. This was tested using Saxon-B 9.1.0.2.
Test.zip contains an eclipse project that demonstrates this.
Files
Updated by Anonymous almost 16 years ago
SourceForge user: mhkay
Please report Saxon problems using the approved route, for example the saxon-help mailing list or forum. As stated in highlighted text on this tracker, I try to keep it for confirmed bugs only, to make it easier for people to search.
This is not a bug. See section 2.6 of the XSLT 2.0 specification "When serialization is not being performed, either because the implementation does not support the serialization option, or because the user is executing the transformation in a way that does not invoke serialization, then the content of the xsl:output and xsl:character-map declarations has no effect." Transforming to a DOMResult is "executing the transformation in a way that does not invoke serialization."
Please register to edit this issue