Distinct file location formats

<oXygen/> general issues.
daliboris
Posts: 18

Distinct file location formats

Tue Feb 20, 2018 1:15 pm

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: 6046

Re: Distinct file location formats

Tue Feb 20, 2018 2:47 pm

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: 18

Re: Distinct file location formats

Tue Feb 20, 2018 3:00 pm

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: 6046

Re: Distinct file location formats

Tue Feb 20, 2018 3:10 pm

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: 18

Re: Distinct file location formats

Tue Feb 20, 2018 3:38 pm

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

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 2 guests