Project

Profile

Help

Bug #2448

closed

No error for xsl:function/xsl:param[@required='no']

Added by Michael Kay over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XSLT conformance
Sprint/Milestone:
Start date:
2015-08-30
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

Saxon is ignoring @xsl:function/xsl:param[@required='no']@, when it should be rejecting it as an error. Function parameters are always required.

XSLT 2.0 prohibits the required attribute on xsl:function/xsl:param while XSLT 3.0 allows it provided the value is "yes".

See http://stackoverflow.com/questions/32096873/xslt2-0-saxon-he-passing-separator-as-param

Actions #1

Updated by Michael Kay over 8 years ago

Test cases added to xslt30 test suite: function-0119a, -0119b, -0120

Actions #2

Updated by Michael Kay over 8 years ago

  • Status changed from New to Resolved

Fixed on the 9.6 and 9.7 branches.

Actions #3

Updated by O'Neil Delpratt over 8 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in version set to 9.6.0.8

Bug fix applied in the Saxon 9.6.0.8 maintenance release

Actions #4

Updated by O'Neil Delpratt over 8 years ago

  • Applies to branch 9.6 added
  • Fix Committed on Branch 9.6 added
  • Fixed in Maintenance Release 9.6.0.8 added
Actions #5

Updated by O'Neil Delpratt over 8 years ago

  • Sprint/Milestone set to 9.6.0.8

Please register to edit this issue

Also available in: Atom PDF