Anonymous | Login | 2021-01-18 07:21 MSK | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0029219 | Open CASCADE | [OCCT] OCCT:Application Framework | public | 2017-10-12 14:53 | 2020-08-28 16:34 | ||||||||
Reporter | kgv | ||||||||||||
Assigned To | kgv | ||||||||||||
Priority | normal | Severity | minor | ||||||||||
Status | feedback | Resolution | open | ||||||||||
Platform | OS | OS Version | |||||||||||
Product Version | [OCCT] 7.2.0 | ||||||||||||
Target Version | [OCCT] 7.6.0* | Fixed in Version | |||||||||||
Summary | 0029219: Application Framework - XML document is written with CRLF on Windows | ||||||||||||
Description | It seems that XML document has different EOL depending on the platform - CRLF on Windows and LF on other systems. Most likely, it is due to std::ofstream being opened in text mode instead of binary mode. It would be useful saving XML files in consistent way across systems - e.g. using LF instead of CRLF on Windows (this would also reduce file size a little). | ||||||||||||
Tags | No tags attached. | ||||||||||||
Test case number | |||||||||||||
Attached Files | |||||||||||||
![]() |
|||||||
|
![]() |
|
(0071511) mpv (developer) 2017-10-16 10:04 |
Windows end-of-lines for text files is standard. XML is a text file. We cannot simply change it in OCCT. |
(0071516) kgv (developer) 2017-10-16 10:28 |
OK, the issue is not specific to XML export - BREP/STEP/IGES are also written with CRLF on Windows. However, behavior is still questionable:- OCCT XML: CRLF - OCCT BREP: CRLF - OCCT STEP: CRLF - OCCT IGES: CRLF - OCCT VRML: CRLF - OCCT STL: LF - Blender X3D: CRLF - Blender STL: CRLF - Blender OBJ: LF - Blender PLY: LF - RPly: LF |
![]() |
|||
Date Modified | Username | Field | Change |
2017-10-12 14:53 | kgv | New Issue | |
2017-10-12 14:53 | kgv | Assigned To | => mpv |
2017-10-12 14:53 | kgv | Relationship added | related to 0029218 |
2017-10-12 14:54 | kgv | Relationship added | related to 0029216 |
2017-10-16 10:04 | mpv | Note Added: 0071511 | |
2017-10-16 10:04 | mpv | Assigned To | mpv => kgv |
2017-10-16 10:04 | mpv | Status | new => feedback |
2017-10-16 10:28 | kgv | Note Added: 0071516 | |
2019-09-04 17:49 | kgv | Target Version | 7.4.0 => 7.5.0 |
2020-08-28 16:34 | kgv | Target Version | 7.5.0 => 7.6.0* |
Copyright © 2000 - 2021 MantisBT Team |