Project

Profile

Help

Bug #6201

closed

configuration file: option for unparsed text URI Resolver

Added by Christian Lück 7 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Configuration
Sprint/Milestone:
-
Start date:
2023-09-17
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
11, 12, trunk
Fix Committed on Branch:
11, 12, trunk
Fixed in Maintenance Release:
Platforms:
Java

Description

According to the documentation, one can set a custom URI resolver for unparsed-text() and friends by setting configuration/global/@unparsedTextURIResolver. However, I found, that this is not the right attribute name. It is configuration/global/@unparsedTextUriResolver, i.e. URI in camel case.

Setting @unparsedTextURIResolver has no effect, while setting @unparsedTextUriResolver activates my custom URI resolver.

I think this is an issue of the documentation. Other attributes for setting URI resolvers use camel case and they work as documented. So fixing the docs would be consistant.

Tested on Saxon-HE 10.9 (Java). Read in docs for 10 and 12.

Link to docs: https://www.saxonica.com/documentation12/index.html#!configuration/configuration-file

Actions #1

Updated by Michael Kay 7 months ago

Thanks for pointing it out.

The schema for the configuration file has the name as unparsedTextURIResolver, but the code that reads the configuration file is looking for `unparsedTextUriResolver``

Actions #2

Updated by Michael Kay 7 months ago

I think I'm going to keep the schema and the documentation using the name unparsedTextURIResolver so that it's aligned with the property name in FeatureKeys, but change the configuration file reader to accept both the correct name (...URI...) and the one that's currently accepted.

Actions #3

Updated by Michael Kay 7 months ago

  • Category set to Configuration
  • Status changed from New to Resolved
  • Assignee set to Michael Kay
  • Priority changed from Low to Normal

Fixed as suggested for 11.x, 12.x, and 13.x. The schema and documentation retain the "URI" spelling; the configuration file reader will accept either.

Actions #4

Updated by Michael Kay 7 months ago

  • Applies to branch 11, 12, trunk added
  • Fix Committed on Branch 11, 12, trunk added
Actions #5

Updated by O'Neil Delpratt 5 months ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 12.4 added

Bug fix applied in the Saxon 12.4 maintenance release

Please register to edit this issue

Also available in: Atom PDF