- From: Andy Seaborne <andy@apache.org>
- Date: Sat, 07 Dec 2013 16:27:55 +0000
- To: David Booth <david@dbooth.org>, Peter Ansell <ansell.peter@gmail.com>
- CC: "public-rdf-comments@w3.org" <public-rdf-comments@w3.org>
On 06/12/13 21:32, David Booth wrote: >> >> * Within STRING_LITERAL_QUOTE, only characters not allowed directly in >> STRING_LITERAL_QUOTE (U+0022, U+005C, U+000A, U+000D) should use ECHAR. >> For all other characters, ECHAR MUST NOT be used. >> """ > > Sorry to bother you again about this, but the phrase "should use ECHAR" > does not seem like the right conformance phrase to use for *canonical* > N-Triples. David, This is not a rule special to canonical N-Triples (CNT) - it's true of N-Triples generally. Only the MUST NOT is specific to this section. The language grammar says: [9] STRING_LITERAL_QUOTE ::= '"' ([^#x22#x5C#xA#xD] | ECHAR | UCHAR)* '"' So you have to escape any of [^#x22#x5C#xA#xD] in N-Triples. The list already says * Characters MUST NOT be represented by UCHAR. > Also, there is a run-on sentence: Fixed. Andy
Received on Saturday, 7 December 2013 16:28:24 UTC