#966 The rules= parameter of collation URI doesn't work

v9.2
closed
5
2012-10-08
2009-08-13
Michael Kay
No

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).

Discussion

  • Michael Kay

    Michael Kay - 2009-08-13

    Test stylesheet for rules attribute of collation URI

     
  • Michael Kay

    Michael Kay - 2009-10-22

    Fixed in 9.2.0.3

     
  • Michael Kay

    Michael Kay - 2009-10-29

    Also fixed in 9.1.0.8

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks