Re: Issue http://www.w3.org/2000/03/rdf-tracking/#rdf-ns-prefix-confusion

> Checking some deployed code for what is done with example above:
>
> repat   - dies: "unknown or out of context rdf attribute: blah"
> rapier  - ignores it
> SiRPAC  - generates a statement where the predicate is 'blah' -
>           i.e. not an absolute URI, could be considered a relative one I
>           suppose. [both SiRPACs]
> VRP 1.4 - forms property URI http://example.org/blah i.e. takes 2b)

(after putting that testcase before our firewall) we found Jena giving:

<rdf:RDF
  xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
  xmlns:RDFNsId1='http://example.org/' >
  <rdf:Description rdf:about='http://vam969.roam.agfa.be/rdf/rdf-ns-prefix-confu
sion.rdfnode'>
    <rdf:type rdf:resource='http://example.org/bar'/>
    <RDFNsId1:blah>value</RDFNsId1:blah>
    <RDFNsId1:prop rdf:resource='http://somewhere.example.org/'/>
  </rdf:Description>
</rdf:RDF>

---------------------------------------------------------------------------------

and cwm giving:

<!-- Processed by Id: cwm.py,v 1.32 2001/04/05 21:33:55 timbl Exp -->
<!--     using base http://vam969.roam.agfa.be/rdf/rdf-ns-prefix-confusion.rdf--
>#   Begining output.



<rdf:RDF xmlns:foo="http://example.org/"
    xmlns="http://vam969.roam.agfa.be/rdf/rdf-ns-prefix-confusion.rdf#"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

    <rdf:Description rdf:about="#node">
        <rdf:type rdf:resource="../../example.org/bar"/>
        <foo:blah>value</foo:blah>
        <foo:prop rdf:resource="../../somewhere.example.org/"/>
    </rdf:Description>
</rdf:RDF>

----------------------------------------------------------------------------------

so they are both 2b but there is a difference in their rdf:about=...
and also cwm gives some (strange?) rdf:resource="../../example.org/bar"

--
Jos De Roo, AGFA http://www.agfa.com/w3c/jdroo/

ps test cases (even very simple ones) are so helpful

Received on Wednesday, 9 May 2001 13:45:15 UTC