Project

Profile

Help

Bug #3229

closed

Saxon 9.7 fails to compile xsl:output/@json-node-output-method

Added by Nick Nunes over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
XSLT conformance
Sprint/Milestone:
-
Start date:
2017-05-19
Due date:
% Done:

100%

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

Description

The attached stylesheet demonstrates this problem. The full error message is:

Static error in xsl:output/@json-node-output-method on line 7 column 60 of json-node-output-method.xsl:

XTSE0090: Attribute @json-node-output-method is not allowed on element xsl:output

Errors were reported during stylesheet compilation

From my read of the specification even if @json-node-output-method is not supported it should only be ignored, not rejected as invalid:

Unless the processor implements the XPath 3.1 Feature, the method values json and adaptive must be rejected as invalid, and the attributes allow-duplicate-names and json-node-output-method must be ignored.

https://www.w3.org/TR/xslt-30/#element-output


Files

json-node-output-method.xsl (457 Bytes) json-node-output-method.xsl Nick Nunes, 2017-05-19 23:12

Please register to edit this issue

Also available in: Atom PDF