A solution to this would be to add another function in file module for
resolving a file path with a given absolute URI.
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.
URI resolver does not work well on Windows
Status in Zorba - The XQuery Processor:
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
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~zorba-coders
Post to : email@example.com
Unsubscribe : https://launchpad.net/~zorba-coders
More help : https://help.launchpad.net/ListHelp