XML Refactoring Error
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 42
- Joined: Thu Oct 27, 2016 11:13 pm
XML Refactoring Error
Post by thedantanner »
I'm encountering an error that I've never encountered before and I wonder if someone could tell me what might be causing it. When I attempt to use XML Refactoring to rename or move a file, I encounter an error stating:
"The rename can be performed only on local DITA maps and topic references."
I've never had this problem before, and I've tested it on both old and newer files that have not been moved around in our repository. I don't know what I could have changed that has caused these particular refactoring actions to stop working.
Any help is appreciated.
Dan
"The rename can be performed only on local DITA maps and topic references."
I've never had this problem before, and I've tested it on both old and newer files that have not been moved around in our repository. I don't know what I could have changed that has caused these particular refactoring actions to stop working.
Any help is appreciated.
Dan
-
- Posts: 42
- Joined: Thu Oct 27, 2016 11:13 pm
Re: XML Refactoring Error
Post by thedantanner »
Could this be the problem? I noticed a while back that our network drives were no longer designated by just a letter. Instead they look like this:
\\JCI-file-01\filedata\Groups\Eng\TechPubs\Repository\topics
Something tells me this might be the source of several of my recent Oxygen headaches.
\\JCI-file-01\filedata\Groups\Eng\TechPubs\Repository\topics
Something tells me this might be the source of several of my recent Oxygen headaches.
-
- Posts: 42
- Joined: Thu Oct 27, 2016 11:13 pm
Re: XML Refactoring Error
Post by thedantanner »
With the help of our resident IT, this has been solved. Turns out, that WAS the problem. And the reason the path was appearing that way was because I was accessing the repository folder through a shortcut pinned to windows explorer. Somewhere along the line, that pin ended up with that wacky address.
So... I navigated to the repository manually, and everything worked as-advertised.
So... I navigated to the repository manually, and everything worked as-advertised.
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: XML Refactoring Error
Hi,
Oxygen should regard shared network drives also as local file drives and allow you to make refactoring changes there. So not sure what the problem was, if you are willing to reproduce again the problem, could you open a file in Oxygen using that way in which the refactoring did not work, right click its tab and choose "Copy location"? Then paste it in a reply on this thread...
Regards,
Radu
Oxygen should regard shared network drives also as local file drives and allow you to make refactoring changes there. So not sure what the problem was, if you are willing to reproduce again the problem, could you open a file in Oxygen using that way in which the refactoring did not work, right click its tab and choose "Copy location"? Then paste it in a reply on this thread...
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 42
- Joined: Thu Oct 27, 2016 11:13 pm
Re: XML Refactoring Error
Post by thedantanner »
I'm not sure how to recreate it, because I've deleted all of the shortcuts (pins) that were messed up. All I can show you is the "reopen" history in Oxygen which shows the file paths. You'll note that the most recent ones have the correct file path, designated by a letter. The ones from yesterday (before we fixed the problem) have a network name instead of the drive letter "N".

loading the image isn't working in preview, so here's the link:
https://photos.app.goo.gl/ryOyKsCBebjeyOnO2
loading the image isn't working in preview, so here's the link:
https://photos.app.goo.gl/ryOyKsCBebjeyOnO2
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: XML Refactoring Error
Hi,
Thanks for the details, I managed to obtain the problem on my side. Usually by "XML Refactoring" we label the set of actions which allow you to make changes inside an XML document but you were using the "Rename/Move" functionality from the DITA Maps Manager so I was testing the wrong thing.
We'll look into this on our side, maybe we can fix this problem and allow you to rename resources even when they are opened directly from the shared network drive, without a drive letter assigned to it.
Regards,
Radu
Thanks for the details, I managed to obtain the problem on my side. Usually by "XML Refactoring" we label the set of actions which allow you to make changes inside an XML document but you were using the "Rename/Move" functionality from the DITA Maps Manager so I was testing the wrong thing.
We'll look into this on our side, maybe we can fix this problem and allow you to rename resources even when they are opened directly from the shared network drive, without a drive letter assigned to it.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 42
- Joined: Thu Oct 27, 2016 11:13 pm
Re: XML Refactoring Error
Post by thedantanner »
This also cause some PDF transformation failures. I don't have the error logs to show you, but I'm sure this was causing the failures. Once we fixed it, the transforms went fine. I'll email one of the transformation logs to the support email address.
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: XML Refactoring Error
Hi,
Just to update this forum thread, Oxygen XML Editor version 20 can perform "XML Refactoring" over resources saved on shared network drives, even if the network drive is not mapped as a local drive.
Regards,
Radu
Just to update this forum thread, Oxygen XML Editor version 20 can perform "XML Refactoring" over resources saved on shared network drives, even if the network drive is not mapped as a local drive.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 42
- Joined: Thu Oct 27, 2016 11:13 pm
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service