W3C home > Mailing lists > Public > public-cwm-bugs@w3.org > October 2007

Re: CWM Bug: Don't Canonicalise Lists

From: Tim Berners-Lee <timbl@w3.org>
Date: Tue, 16 Oct 2007 14:49:53 -0400
Message-Id: <D187D55F-F28D-4B3F-8BAE-7DCA5C8B3A7E@w3.org>
Cc: public-cwm-bugs@w3.org
To: Sean B.Palmer <sean@miscoranda.com>

I suppose we could make it an option.
Note also though that cwm does datatype canonicalization as well for  
example for 08 and 8.
Would you want that removed?

Tim

On 2007-10 -15, at 05:32, Sean B. Palmer wrote:

>
> Please remove list canonicalisation from cwm.
>
> Compare:
>
> $ echo '@prefix : <http://example.org/#> . (:p) :q (:p) .' | \
>      cwm --n3 --rdf | rapper -i rdfxml -o ntriples - .
> rapper: Parsing URI (null) with base URI .
> _:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first>
> <http://example.org/#p> .
> _:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest>
> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
> _:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first>
> <http://example.org/#p> .
> _:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest>
> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
> _:genid1 <http://example.org/#q> _:genid2 .
> rapper: Parsing returned 5 triples
>
> With:
>
> $ echo '@prefix : <http://example.org/#> . (:p) :q (:p) .' | cwm -- 
> ntriples
> _:li1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first>
> <http://example.org/#p> .
> _:li1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest>
>    <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
> _:li1 <http://example.org/#q> _:li1 .
>
> (Note that I wonder about formula canonicalisation too.)
>
> Thanks,
>
> -- 
> Sean B. Palmer, http://inamidst.com/sbp/
Received on Tuesday, 16 October 2007 18:50:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:59 GMT