← Prev in month ← Prev in thread
Next in thread → Next in month →

Whitespace (ODF 1.2 Pt 2)

From
Alex Brown <>
Date
2009-09-29T15:47:12+00:00
ID
Thread
Whitespace (ODF 1.2 Pt 2)
Dear all, 

5.14

----b
An embedded line break shall be represented by a single newline
character (U+000A), not by a carriage return-linefeed pair. When
embedded in an XML document the newline character is typically
represented as "&#0A;".
----e

* U+000A in not a newline character as stated, but a linefeed character
(official name: 'LINE FEED (LF)')

* Since XML processors are required to normalize CR/LF pairs, why is
this common convention prohibited here? (see
http://www.w3.org/TR/xml/#sec-line-ends)

* "&#0A;" is not well-formed; should be "&#x0A;" or "&#10;"

* The LF character is arguably more "typically" represented as a single
byte 0x0A in XML content - but maybe the second sentence adds nothing
and would be better removed?

- Alex.
← Prev in month ← Prev in thread
Next in thread → Next in month →