Project

Profile

Help

Bug #3474

closed

Catalog not used in sourceLocation of packages in configuration files

Added by Arnaud Malguy about 7 years ago. Updated about 7 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
Start date:
2017-10-06
Due date:
% Done:

0%

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

Description

I use a xml catalog file with entries like this :

  <rewriteURI uriStartString="myPrefix:/" rewritePrefix="file:/[path-in-filesystem]/"/>

When I use, the following instruction in a xsl, catalog is used, and the referenced xsl is found :

<xsl:include href="myPrefix:/my-xsl.xsl"/>

But when I use the same in a saxon's configuration file that declares packages, it doesn't work :

<xsltPackages>
    <package name="my URI" version="1.0"  sourceLocation="myPrefix:/lib/my-package.xsl"/>
</xsltPackages>

It act as catalogs are not used in the uri resolution of packages. Following error is raised :

I/O error reported by XML parser processing myPrefix:/lib/my-package.xsl: unknown protocol: myPrefix

If I use absolute or relative (to conf. file) URI it's OK.

Possible to fix it ?

Thanks

Please register to edit this issue

Also available in: Atom PDF