Project

Profile

Help

Bug #5707

closed

xsl:output with json-node-output-method="adaptive" does not work

Added by Octavian Nadolu about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Diagnostics
Sprint/Milestone:
-
Start date:
2022-10-03
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
10, 11, trunk
Fix Committed on Branch:
10, 11, trunk
Fixed in Maintenance Release:
Platforms:
.NET, Java

Description

It seems that if you set json-node-output-method="adaptive" on an xsl:output element, Saxon displays an error:

Error in xsl:output/@json-node-output-method on line 3 column 67 of jsonAdaptiveoutput.xsl:
  XTSE0020  Invalid value (adaptive) for serialization method: must be
  xml|html|xhtml|text|json|adaptive, or a QName in 'Q{uri}local' form
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="3.0">
    <xsl:output method="json" json-node-output-method="adaptive"/>
</xsl:stylesheet>

I tested with Saxon 10.8, 11.2, and 11.4

Please register to edit this issue

Also available in: Atom PDF