View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015637 | CMake | CTest | public | 2015-07-01 10:32 | 2015-07-02 08:45 | ||||
Reporter | Zach Mullen | ||||||||
Assigned To | Zach Mullen | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015637: Consider escaping all utf8 chars in XML test output | ||||||||
Description | Right now, any characters we deem non-printable are escaped in a non-standard way, e.g.: "[NON-XML-CHAR-0x1B]" Instead of the standard NCR escaping: "". I propose that we change to using NCR escaping to provide more portable XML and let CDash (or other consumers of the XML) decide how to render those characters. For instance, my personal use case involves terminal control characters -- services like travis render colors and styles in the web UI just as they would appear in a terminal, and it would be nice to enable CDash to do the same thing without having to look for our nonstandard string. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0039004) Nils Gladitz (developer) 2015-07-01 10:53 |
I don't think XML containing a character reference for 0x1B would be well formed since the codepoint still is required to follow the char production http://www.w3.org/TR/REC-xml/#NT-Char [^] which excludes 0x1B. |
(0039005) Zach Mullen (developer) 2015-07-01 11:08 edited on: 2015-07-01 11:18 |
Good point Nils. I guess one alternative would be base64-encoding the output, but that incurs more space. Given that caveat, I think it may be easier to simply have CDash handle the current escaped values. I will close this. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2015-07-01 10:32 | Zach Mullen | New Issue | |
2015-07-01 10:53 | Nils Gladitz | Note Added: 0039004 | |
2015-07-01 11:08 | Zach Mullen | Note Added: 0039005 | |
2015-07-01 11:18 | Zach Mullen | Note Edited: 0039005 | |
2015-07-01 11:18 | Zach Mullen | Status | new => closed |
2015-07-01 11:18 | Zach Mullen | Assigned To | => Zach Mullen |
2015-07-01 11:18 | Zach Mullen | Resolution | open => fixed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |