Page 1 of 1

Distinct file location formats

Posted: Tue Feb 20, 2018 1:15 pm
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?

Re: Distinct file location formats

Posted: Tue Feb 20, 2018 2:47 pm
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

Re: Distinct file location formats

Posted: Tue Feb 20, 2018 3:00 pm
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

Re: Distinct file location formats

Posted: Tue Feb 20, 2018 3:10 pm
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

Re: Distinct file location formats

Posted: Tue Feb 20, 2018 3:38 pm
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