XML Refactoring produces inconsistent End of Line (EOL) style

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
B-E-N
Posts: 130
Joined: Thu Mar 24, 2016 5:54 pm

XML Refactoring produces inconsistent End of Line (EOL) style

Post by B-E-N » Wed Dec 14, 2016 4:33 pm

Hi,

our SVN only allows to commit files with consistent end of line styles. Normally, this is the Windows EOL.

When I use the XML Refactoring tool, I can't commit the changed files anymore afterwards. This is because it seems that the tool adds inconsistent line endings to our XML files.

Can somebody confirm this? I think this is a bug.

Best regards

adrian
Posts: 2580
Joined: Tue May 17, 2005 4:01 pm

Re: XML Refactoring produces inconsistent End of Line (EOL) style

Post by adrian » Wed Dec 14, 2016 7:15 pm

Hi,

What version and build of Oxygen are you using (Help >About)?
On what platform are you running Oxygen (Windows/Linux/Mac)?

What "XML Refactoring" operation did you use on the file(s) in question?

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

B-E-N
Posts: 130
Joined: Thu Mar 24, 2016 5:54 pm

Re: XML Refactoring produces inconsistent End of Line (EOL) style

Post by B-E-N » Thu Dec 15, 2016 10:54 am

Oxygen Editor 18.1 (colleague tested on Author 18.1, same bug)
Build 2016112217
Windows 10
I changed attribute values and deleted attributes.

alin
Site Admin
Posts: 145
Joined: Thu Dec 24, 2009 11:21 am

Re: XML Refactoring produces inconsistent End of Line (EOL) style

Post by alin » Thu Dec 15, 2016 7:08 pm

Hello,

We have reproduced the issue on our side. Currently we are working to fix this problem.
You will be notified when a fix is available.

As an workaround, open the XML files in editor and then apply the refactoring operation.

Regards,
Alin
Alin Balasa
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com

sorin_carbunaru
Site Admin
Posts: 262
Joined: Mon May 09, 2016 9:37 am

Re: XML Refactoring produces inconsistent End of Line (EOL) style

Post by sorin_carbunaru » Mon Apr 10, 2017 2:44 pm

Hello,

The fix is available starting with oXygen 18.1, build2017013018.

Best wishes,
Sorin Carbunaru
oXygen XML

B-E-N
Posts: 130
Joined: Thu Mar 24, 2016 5:54 pm

Re: XML Refactoring produces inconsistent End of Line (EOL) style

Post by B-E-N » Mon Apr 10, 2017 3:14 pm

Nice, thank you for the information. We will check it out the next time we are in need of doing some XML refactoring.

Post Reply