can xmlRefactoring.sh (from Oxygen Scripting) be run in a dry-run mode?

Questions about XML that are not covered by the other forums should go here.
chrispitude
Posts: 907
Joined: Thu May 02, 2019 2:32 pm

can xmlRefactoring.sh (from Oxygen Scripting) be run in a dry-run mode?

Post by chrispitude »

I would like to use Oxygen Scripting's xmlRefactoring.sh script to do some runtime testing and profiling of a complex refactoring operation via a batch file.

Is there a way to run xmlRefactoring.sh in a "dry-run" mode that would not modify the files, but instead would simply perform the processing and catch any errors that might occur?

I could use Saxon directly, but I would prefer to include Oxygen's format preservation algorithms and also to use Saxon-EE instead of Saxon-HE.

Thanks!
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: can xmlRefactoring.sh (from Oxygen Scripting) be run in a dry-run mode?

Post by Radu »

Hi Chris,
We do not have such dry run capabilities. Maybe using scripting you can copy the project files to a new temporary folder then run the xml refactoring on that temp folder and then delete it at the end.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply