Project

Profile

Help

Bug #3025

closed

absolute windows paths for command line option -catalog causes an error "Malformed URL"

Added by Stefan Krause about 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Command Line
Sprint/Milestone:
-
Start date:
2016-11-12
Due date:
% Done:

100%

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

Description

Under some circumstances, a Windows styled absolute path for the command line option -catalog causes an error "Malformed URL"

The specific circumstances in my case are:

  • stylesheet A imports a stylesheet B, and the path to the imported stylesheet is given as an URN

  • catalog A references catalog B, catalog B resolves the path to stylesheet B

  • catalog B and stylesheet B reside within a subdirectory relative to stylesheet A and catalog A

The execution fails only, if the path to the catalog is given as an absolute path in Windows style. If the same catalog is refered as a relative path or an URI, the transformation succeeds.

The example files are attached to this ticket, the command line was

C:\_trash\saxonica>Saxon-PE\bin\Transform.exe -xsl:importing-stylesheet.xsl -it:main -catalog:c:\_trash\saxonica\catalog.xml

Im using Saxon Saxon-PE 9.7.0.7N on Windows 10 Build 1607


Files

saxonica.zip (1.42 KB) saxonica.zip sample files to reproduce the bug Stefan Krause, 2016-11-12 23:27

Please register to edit this issue

Also available in: Atom PDF