Actions
Bug #5789
closedSaxonC 11.99 on Windows: using file paths with Windows separator backslash doesn't seem to work, need to use forwards slash
Start date:
2023-01-03
Due date:
% Done:
100%
Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
11.99
Fixed in version:
12.0
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:
Description
Issue reported by user here: https://saxonica.plan.io/boards/4/topics/9165
Under Windows the SaxonC APIs which use file paths with backward slashes fails. SaxonC 12 now uses the XML resolver under the hood to manage resolving of filenames. This is bug in SaxonC because the XML resolver is expecting URIs, but SaxonC is passing a string with "", which isn't allowed in URIs.
The advice given is to "urify" the strings that come from the user to make Windows filenames into URIs. It is a complicated issue. We also have to deal with "C:" at the front, "C:/path" isn't a valid URI, you need something like "file:///C:/path"
Some background example, https://spec.xproc.org/3.0/xproc/#f.urify
Please register to edit this issue
Actions