# Mixed EOL styles in RODL

**URL:** https://talk.remobjects.com/t/mixed-eol-styles-in-rodl/14325
**Category:** Remoting SDK
**Created:** [September 28, 2017, 7:23am UTC](https://talk.remobjects.com/t/mixed-eol-styles-in-rodl/14325 "2017-09-28T07:23:49Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![apustotin](https://talk.remobjects.com/user_avatar/talk.remobjects.com/apustotin/32/5912_2.png) [@apustotin](https://talk.remobjects.com/u/apustotin)
#### Post date: [September 28, 2017, 7:23am UTC](https://talk.remobjects.com/t/mixed-eol-styles-in-rodl/14325/1 "2017-09-28T07:23:50Z")

</div>

Hello

the ROService builder mixes EOL styles inside documentation sections when importing a correct RODL.

Follow these steps to reproduce the issue:

1. Open the [test.rodl](https://talk.remobjects.com/uploads/default/original/2X/0/0f640719950bf5ac7ec0fa2042eb54709d2f080c.rodl) (663 Bytes)  
file in an external editor that can display special symbols (e.g. Notepad++).  

2. Open the file by the ROService builder.

3. Change the documentation section for only library (!!!don’t touch the test that belongs to the NewService item).  

4. Save the file in the builder and open it again in the external editor  

We use RO\_VERSION = ‘9.3.0.1327’;

regards

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [September 29, 2017, 8:31am UTC](https://talk.remobjects.com/t/mixed-eol-styles-in-rodl/14325/2 "2017-09-29T08:31:03Z")

</div>

Thanks, logged as bugs://78590

---

<div class="post-metadata">

### Author: ![apustotin](https://talk.remobjects.com/user_avatar/talk.remobjects.com/apustotin/32/5912_2.png) [@apustotin](https://talk.remobjects.com/u/apustotin)
#### Post date: [October 26, 2017, 2:19pm UTC](https://talk.remobjects.com/t/mixed-eol-styles-in-rodl/14325/3 "2017-10-26T14:19:11Z")

</div>

Hello

as I can see the bug was not fixed in the latest version 9.3.105.  
Do you have any estimation for it?

Best regards

---

<div class="post-metadata">

### Author: ![EvgenyK](https://talk.remobjects.com/user_avatar/talk.remobjects.com/evgenyk/32/16_2.png) [@EvgenyK](https://talk.remobjects.com/u/EvgenyK)
#### Post date: [October 27, 2017, 8:09am UTC](https://talk.remobjects.com/t/mixed-eol-styles-in-rodl/14325/4 "2017-10-27T08:09:51Z")

</div>

this issue has low priority so it wasn’t fixed for this release. probably it will be fixed for next one

---

<div class="post-metadata">

### Author: ![EvgenyK](https://talk.remobjects.com/user_avatar/talk.remobjects.com/evgenyk/32/16_2.png) [@EvgenyK](https://talk.remobjects.com/u/EvgenyK)
#### Post date: [October 31, 2017, 3:52pm UTC](https://talk.remobjects.com/t/mixed-eol-styles-in-rodl/14325/5 "2017-10-31T15:52:03Z")

</div>

As I can see, `IXMLDOMNode.text` that we use for reading node value, replaces `\r\n` with `\n`.

from [text Property1 | Microsoft Learn](https://msdn.microsoft.com/en-us/library/ms762687(v=vs.85).aspx) :

> [@](#):
>
> .text trims the whitespace on the edges of the result, and “normalizes” \r\n =\> \n, but otherwise just concatenates text.

---

<div class="post-metadata">

### Author: ![apustotin](https://talk.remobjects.com/user_avatar/talk.remobjects.com/apustotin/32/5912_2.png) [@apustotin](https://talk.remobjects.com/u/apustotin)
#### Post date: [November 14, 2017, 9:07am UTC](https://talk.remobjects.com/t/mixed-eol-styles-in-rodl/14325/6 "2017-11-14T09:07:36Z")

</div>

the issue is still present in 9.3.0.1343.  
Any clues when it might be fixed?

---

<div class="post-metadata">

### Author: ![EvgenyK](https://talk.remobjects.com/user_avatar/talk.remobjects.com/evgenyk/32/16_2.png) [@EvgenyK](https://talk.remobjects.com/u/EvgenyK)
#### Post date: [November 14, 2017, 11:10am UTC](https://talk.remobjects.com/t/mixed-eol-styles-in-rodl/14325/7 "2017-11-14T11:10:46Z")

</div>

it may be fixed for 9.4 RTM because it has low priority

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [November 17, 2017, 9:30am UTC](https://talk.remobjects.com/t/mixed-eol-styles-in-rodl/14325/8 "2017-11-17T09:30:48Z")

</div>

bugs://78590 got closed with status fixed.

---

<div class="post-metadata">

### Author: ![apustotin](https://talk.remobjects.com/user_avatar/talk.remobjects.com/apustotin/32/5912_2.png) [@apustotin](https://talk.remobjects.com/u/apustotin)
#### Post date: [March 22, 2018, 3:52pm UTC](https://talk.remobjects.com/t/mixed-eol-styles-in-rodl/14325/9 "2018-03-22T15:52:30Z")

</div>

Hello Evgeny

I checked and found that the bug is still present in 9.4.0.1361.

regards

---

<div class="post-metadata">

### Author: ![EvgenyK](https://talk.remobjects.com/user_avatar/talk.remobjects.com/evgenyk/32/16_2.png) [@EvgenyK](https://talk.remobjects.com/u/EvgenyK)
#### Post date: [March 23, 2018, 7:50am UTC](https://talk.remobjects.com/t/mixed-eol-styles-in-rodl/14325/10 "2018-03-23T07:50:46Z")

</div>

Now LineBreak in CDATA is set to `#10` instead of `#13#10`.

---

<div class="post-metadata">

### Author: ![apustotin](https://talk.remobjects.com/user_avatar/talk.remobjects.com/apustotin/32/5912_2.png) [@apustotin](https://talk.remobjects.com/u/apustotin)
#### Post date: [March 23, 2018, 8:03am UTC](https://talk.remobjects.com/t/mixed-eol-styles-in-rodl/14325/11 "2018-03-23T08:03:33Z")

</div>

Evgeny, I’m not sure that I see your explanation. Please, give me a bit more details.

thanks

---

<div class="post-metadata">

### Author: ![EvgenyK](https://talk.remobjects.com/user_avatar/talk.remobjects.com/evgenyk/32/16_2.png) [@EvgenyK](https://talk.remobjects.com/u/EvgenyK)
#### Post date: [March 23, 2018, 8:08am UTC](https://talk.remobjects.com/t/mixed-eol-styles-in-rodl/14325/12 "2018-03-23T08:08:14Z")

</div>

We decided to use only LF instead of CRLF inside CDATA section because not all XML implementations allow to use CRLF here.  
it will solve any future problems with mixing EOL styles inside RODL.

---

<div class="post-metadata">

### Author: ![apustotin](https://talk.remobjects.com/user_avatar/talk.remobjects.com/apustotin/32/5912_2.png) [@apustotin](https://talk.remobjects.com/u/apustotin)
#### Post date: [March 23, 2018, 8:30am UTC](https://talk.remobjects.com/t/mixed-eol-styles-in-rodl/14325/13 "2018-03-23T08:30:53Z")

</div>

Ok. Now I see your position.

Thank you.
