[Zorba-coders] [Bug 868329] Re: URI resolver does not work well on Windows
** Changed in: zorba Assignee: (unassigned) => Chris Hillery (ceejatec) ** Changed in: zorba Importance: Undecided => Medium -- 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 -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 868329] Re: URI resolver does not work well on Windows
Followups in the discussion on zorba-coders: "File API extension for resolving path against a base URI/path" ** Changed in: zorba Assignee: Gabriel Petrovay (gabipetrovay) => (unassigned) -- 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 -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 868329] Re: URI resolver does not work well on Windows
I would say that such an addition, if accepted, should be added to the resolve-path function. I will send a couple of emails regarding this extension. -- 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 -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [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 -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp