Project

Profile

Help

Bug #1154

closed

The rules= parameter of collation URI doesn't work

Added by Anonymous over 14 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Saxon extensions
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

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

Description

SourceForge user: mhkay

According to the documentation, Saxon accepts a collation URI in the form http://saxon.sf.net/collation?rules=xxxxx, where xxxxx gives the collation rules in the format defined for a Java RuleBasedCollation. In practice, this doesn't work. The rules will almost invariably include special characters, meaning that they have to be percent-encoded to create a valid URI, and Saxon is not applying percent-decoding before passing the value to Java.

A patch is being raised for the 9.1 and 9.2 branches. Once fixed, the attachment to this bug shows a stylesheet that uses the facility successfully (it establishes a collation in which N precedes M).


Files

collation200.xsl (9.56 KB) collation200.xsl Anonymous, 2009-08-13 11:47
Actions #1

Updated by Anonymous over 14 years ago

SourceForge user: mhkay

Fixed in 9.2.0.3

Actions #2

Updated by Anonymous over 14 years ago

SourceForge user: mhkay

Also fixed in 9.1.0.8

Please register to edit this issue

Also available in: Atom PDF