Bug #4047
closedUnrecognized collations in default-collation attribute
100%
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.
Updated by Michael Kay over 5 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".
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.
Updated by O'Neil Delpratt about 5 years ago
- Status changed from Resolved to Closed
Please register to edit this issue