Re: Assumptions about anonymous resources

Tim Serong wrote:
> Hi all,
>
> When an anonymous resource is referenced (ie: <rdf:Description> with no
> about or ID attribute), is it reasonable/legal to make *any* assumptions
> about the resource other than that it is anonymous?
>
> For example, consider the following:
>
> <?xml version="1.0"?>
> <top-level-element xmlns:rdf="...">
>
>   <first-element id="001">
>     <rdf:Description about="#001">
>       ...
>     <rdf:Description>
>   <first-element>
>
>   <second-element>
>     <rdf:Description>
>       ...
>     </rdf:Description>
>   </second-element>
>
> </top-level-element>
>
> As I understand it, the first <rdf:Description> refers to the resource
> identified by the fragment identifier "#001", which in this instance
happens
> to be the <first-element> element.
>
> The second <rdf:Description> refers to an anonymous resource.  Could I
> assume that this anonymous resource is the <second-element> element?

    I don't see how that assumption could be supported. On the other hand
the XPointer ChildSeq for the rdf:Description is:

#/1/2/1

which serves as a valid fragment ID for the rdf:Description element

Jonathan Borden
The Open Healthcare Group
http://www.openhealth.org

Received on Wednesday, 4 October 2000 10:03:00 UTC