W3C home > Mailing lists > Public > public-rdf-wg@w3.org > March 2011

[TTL] Long literals

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Thu, 31 Mar 2011 10:12:12 +0100
Message-ID: <4D94456C.3020209@epimorphics.com>
To: RDF-WG <public-rdf-wg@w3.org>
What is the newline process in long literals?



which of CR(\r) NL(\n), CR, NL is it?

XML behaves as if it's &#xA; i.e. NL (also know as LF).

As \r escapes apply,


would be the CR NL version.

It's hard to write the NL form if the default is CR NL.

So NL newlines seems appropriate. It just needs stating though.

(It can be achieved for a CR NL systems line MS-Windows by simply 
striping out any raw CR in the input stream anywhere in the input as the 
NL will achieve the same effect.)

Received on Thursday, 31 March 2011 09:12:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:04 UTC