[Bug 29217] Serialization of newlines

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29217

--- Comment #6 from Christian Gruen <christian.gruen@gmail.com> ---
Michael, thanks for your feedback.

> 2. Do newline characters need to be normalized (see my initial comment)?
>
> Not quite sure what you mean by the question.

My question goes back to the test case "Serialization-text-11". In the text
output rules, it is stated that "A newline character in the instance of the
data model MAY be output using any character sequence that is conventionally
used to represent a line ending in the chosen system environment.", so I was
wondering why/if the carriage return character is optional in the test result.
In the test case, the string "&#xD;&#xA;" is expected to be serialized as
"\r?\n", so I would have expected...

* "\r\n" on Linux (or if output is not OS-specific),
* "\r\r\n" on Windows, and
* "\r\r" on old Mac versions

...as valid results.

If you believe that this is particular test case needs some more discussion,
I’ll be glad to create a new bug entry in the "Test Case" category.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 28 October 2015 10:15:47 UTC