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

CWM Bug: Don't Canonicalise Lists

From: Sean B. Palmer <sean@miscoranda.com>
Date: Mon, 15 Oct 2007 10:32:29 +0100
Message-ID: <b6bb4d890710150232g1e240596if6a8ff38944698d3@mail.gmail.com>
To: public-cwm-bugs@w3.org

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 09:32:48 GMT

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