Project

Profile

Help

Bug #4093

closed

xsl:result-document/@format does not accept an EQName

Added by Michael Kay about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XSLT conformance
Sprint/Milestone:
-
Start date:
2019-01-15
Due date:
% Done:

100%

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

Description

According to the specification, it should be possible to support xsl:result-document/@format as an EQName. If this is attempted, an error is thrown:

Error in t:result-document/@format on line 14 column 92 of result-document-0286.xsl: XTDE1460: The requested output format {Q{http://example.com}format2} is not a valid QName

Test case result-document-0286 added to XSLT 3.0 test suite.

Note that if an EQName is supplied literally, the braces must be doubled because the attribute is an AVT.

Actions #1

Updated by Michael Kay about 5 years ago

  • Status changed from New to Resolved
  • Fix Committed on Branch 9.9 added

Actually: an EQName is accepted on the static path, but not on the dynamic path, or when reloading a stylesheet from a SEF file. Test cases added for both the static and dynamic cases.

Resolved on the 9.9 branch.

Actions #2

Updated by O'Neil Delpratt about 5 years ago

  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 9.9.1.1 added

Bug fix applied to the Saxon 9.9.1.1 maintenance release.

Actions #3

Updated by O'Neil Delpratt about 5 years ago

  • Status changed from Resolved to Closed

Please register to edit this issue

Also available in: Atom PDF