Re: problem with blank node identifiers and rdf:nodeID

>>>Brian McBride said:
> 
> At 10:55 28/11/2002 -0500, Peter F. Patel-Schneider wrote:
> 
> >It appears to me that the use of rdf:nodeID makes it impossible to
> >correctly transform an RDF/XML document into n-triples without first
> >checking for all the rdf:nodeID uses in the document.  Otherwise a
> >generated blank node id could accidentally be the same as one used (later)
> >in an rdf:nodeID in the document.
> 
> Is there anywhere in the spec where it says that the node id used in the 
> n-triples MUST be the same as the nodeID used in the rdf/xml?

It does say that, actually.  Rewording it so that it is more flexible
will be tricky, but I will attempt it.

  [[ If there is an attribute a with a.URI == rdf:nodeID, then 
   e.subject := identifier(identifier:=a.string-value,
                           identifier-type:="bnodeID").

  ]]
  -- http://www.w3.org/TR/2002/WD-rdf-syntax-grammar-20021108/#nodeElement

(and 
http://www.w3.org/TR/2002/WD-rdf-syntax-grammar-20021108/#emptyPropertyElt
)

Dave

Received on Monday, 2 December 2002 08:49:14 UTC