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

Re: CWM Bug: Don't Canonicalise Lists

From: Yosi Scharf <syosi@MIT.EDU>
Date: Mon, 15 Oct 2007 10:07:23 -0400
Message-Id: <871F93C4-390E-4FB6-B090-21054779ECE7@mit.edu>
Cc: public-cwm-bugs@w3.org, Tim Berners-Lee <timbl@w3.org>
To: "Sean B. Palmer" <sean@miscoranda.com>

This shows what list canonicalization does. I'm not so sure it is an  
argument to remove it.


Yosi



On Oct 15, 2007, at 5:32 AM, 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 Monday, 15 October 2007 14:07:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:52:01 UTC