W3C home > Mailing lists > Public > public-rdf-comments@w3.org > July 2013

Re: PROPOSED to RESOLVE ISSUE-127 with Canonical N-Triples

From: Gavin Carothers <gavin@carothers.name>
Date: Fri, 5 Jul 2013 12:03:37 -0700
Message-ID: <CAPqY83yAj1Vo5HdY6A7NAsitVFuap7fSLUABse7=M730bBT4Tw@mail.gmail.com>
To: David Booth <david@dbooth.org>
Cc: RDF-WG WG <public-rdf-wg@w3.org>, Gregory Williams <greg@evilfunhouse.com>, "public-rdf-comments@w3.org" <public-rdf-comments@w3.org>
On Fri, Jul 5, 2013 at 11:47 AM, David Booth <david@dbooth.org> wrote:

> Don't you mean "MUST" instead of "SHOULD" in all of the below, in order to
> be considered *canonical*?



Could probably go either way, happy with either. Specifically:


   - Characters *SHOULD* be represented directly and not by UCHAR.

>From CHARMOD:


C047 <http://www.w3.org/TR/2005/REC-charmod-20050215/#C047>  [I]  [C]
Escapes should only be used when the characters to be expressed are not
directly representable in the format or the character encoding of the
document, or when the visual representation of the character is unclear.


I imagine there might be rational reasons to avoid the direct
representation for either security of some other reason and still possibly
consider the document canonical. Perfect normalization is not achieved
anyway thanks to blank node labels, and general triple ordering concerns.
If the community is happier with MUST, lets do that.


--Gavin
Received on Friday, 5 July 2013 19:04:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:29:57 UTC