Distinct file location formats

Oxygen general issues.
daliboris
Posts: 26
Joined: Thu Feb 11, 2010 5:00 pm

Distinct file location formats

Post by daliboris »

I use 64bit oXygen XML Editor 19.1 on Windows 10 64bit.
I noticed that there are different outputs of using Copy Location menu item.
If I use it by right-clicking on the file in the Project windows, location (in the clipbaord) has URI format (e.g. file:/D:/Test/Conversion.xml).
When I use this menu item on the tab opened in Text view, location has "Windows" format (e.g. D:\Test\Conversion.xml).
Is it intentional behavior or an inconsistency?
Radu
Posts: 9051
Joined: Fri Jul 09, 2004 5:18 pm

Re: Distinct file location formats

Post by Radu »

Hi,

I think it's an inconsistency and most probably the file path D:\Test\Conversion.xml is more useful to you than the URL path. So we'll probably change the "Copy location" for the project to yield the same result as the one from the opened XML document tab.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
daliboris
Posts: 26
Joined: Thu Feb 11, 2010 5:00 pm

Re: Distinct file location formats

Post by daliboris »

Hello Radu,

thank you.

Sometimes URI format is helpfull: when you want put it in XSLT stylesheet as a parameter, for example. Sometimes it's better to use file path: for example when you want locate the file via File Explorer (on Windows OS).
In my opinion, to have access to both formats would be best solution.

Best,
Boris
Radu
Posts: 9051
Joined: Fri Jul 09, 2004 5:18 pm

Re: Distinct file location formats

Post by Radu »

Hi Boris,

So what we did on the "Copy location" from the opened XML document tab is that if you paste the location inside Oxygen (in an XSLT for example) you will get an URL pointing to it but if you paste it in another application (outside of Oxygen) you get a file path.
So maybe the "Copy location" from the Project could work in a similar fashion.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
daliboris
Posts: 26
Joined: Thu Feb 11, 2010 5:00 pm

Re: Distinct file location formats

Post by daliboris »

Hello Radu,

this (the same behavior in the Project window and File tab) makes sense, at least for me.

Thanks for detailed explanation of the behavior of the clipboard outside oXygen.

Best,
Boris
Post Reply