CWM Bug: Terms Should Not Be Reserved

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 UTC