W3C home > Mailing lists > Public > www-archive@w3.org > September 2001

CWM Bug: Terms Should Not Be Reserved

From: Sean B. Palmer <sean@mysterylights.com>
Date: Fri, 21 Sep 2001 21:19:07 +0100
Message-ID: <01ae01c142da$b77e5c60$19e493c3@y0r1d9>
To: "Tim Berners-Lee" <timbl@w3.org>, "Dan Connolly" <connolly@w3.org>
Cc: <www-archive+n3bugs@w3.org>
CWM appears to reserve a set of terms "#g_x" (where "x" is a digit) for
anonymous nodes. This would be less of a hack if current nodes of the same
URI were not interfered with. There is a similar problem with "#_formula"
which I gather is the root context of a document. If I have already created
the term "_formula" in a schema, then CWM barfs on it. For example, the
following Notation3:-

   @prefix : <#> .
   :p [ :_formula :_g0 ] :s .

Converts to the following XML RDF:-

   <rdf:RDF xmlns="pqrs.n3#"
       xmlns:log="http://www.w3.org/2000/10/swap/log#"
       xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
       <rdf:Description rdf:about="#_formula">
           <log:forSome rdf:resource="#_g0"/>
       </rdf:Description>
       <rdf:Description rdf:about="#_g0">
           <_formula rdf:resource="#_g0"/>
       </rdf:Description>
       <rdf:Description rdf:about="#p">
           <_g0 rdf:resource="#s"/>
       </rdf:Description>
   </rdf:RDF>

Using CWM version 1.72.

Cheers,

--
Kindest Regards,
Sean B. Palmer
@prefix : <http://webns.net/roughterms/> .
:Sean :hasHomepage <http://purl.org/net/sbp/> .
Received on Friday, 21 September 2001 16:19:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:17:14 GMT