Project

Profile

Help

Bug #4047

closed

Unrecognized collations in default-collation attribute

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
XSLT conformance
Sprint/Milestone:
-
Start date:
2018-11-23
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

The spec says, of [xsl:]default-collation:

If the implementation recognizes one or more of the resulting absolute collation URIs, then it uses the first one that it recognizes as the default collation.

There is some room for interpretation of what "recognizes" means, but Saxon is reporting an error in the case of collations that are "almost recognized", for example a UCA collation with an unrecognized parameter value. I think the only cases where an error should be reported are (a) where one of the URIs is relative and cannot be absolutized, and (b) where none of the collation URIs represents a known collation.

Actions #1

Updated by Michael Kay over 3 years ago

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

Fixed (in StyleElement module), along with some general code tidying in this area (made it clearer how errors in collation URIs are handled).

Added two new test cases in xslt30extra test set "collation".

Actions #2

Updated by O'Neil Delpratt over 3 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 over 3 years ago

  • Status changed from Resolved to Closed

Please register to edit this issue

Also available in: Atom PDF