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

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

From: Gregg Kellogg <gregg@greggkellogg.com>
Date: Fri, 5 Jul 2013 14:00:56 -0600
Message-ID: <-7335696362826336188@unknownmsgid>
To: Gavin Carothers <gavin@carothers.name>
Cc: David Booth <david@dbooth.org>, RDF-WG WG <public-rdf-wg@w3.org>, Gregory Williams <greg@evilfunhouse.com>, "public-rdf-comments@w3.org" <public-rdf-comments@w3.org>
On Jul 5, 2013, at 1:04 PM, Gavin Carothers <gavin@carothers.name> wrote:

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.

I would say that c14n is a MAY for serializers. When serializing in c14n
mode, all are a MUST.


   - 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.

Received on Friday, 5 July 2013 20:01:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:59:35 UTC