zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #00863
[Bug 868329] Re: URI resolver does not work well on Windows
A solution to this would be to add another function in file module for resolving a file path with a given absolute URI.
file:path-to-uri($baseUri, $filePath)
So file:path-to-uri("file:///C%3A/path/file1", "e:/path2/file2")
would produce "file:///E%3A/path2/file2"
** Changed in: zorba
Assignee: Daniel Turcanu (danielturcanu) => Gabriel Petrovay (gabipetrovay)
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/868329
Title:
URI resolver does not work well on Windows
Status in Zorba - The XQuery Processor:
New
Bug description:
When resolving a Windows absolute path relative to another URI, URI resolver cannot see that it is an absolute path (does not check for C:\) and treats it as relative path. It only checks for Linux style absolute paths.
See test zorba/resolving/path_to_uri.xq in branch lp:~danielturcanu/zorba/mytrunk
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/868329/+subscriptions
References