W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > February 2007

Re: question on RDFa subject resolution

From: Bob DuCharme <bob@snee.com>
Date: Fri, 9 Feb 2007 10:41:24 -0500 (EST)
Message-ID: <10605.65.41.110.2.1171035684.squirrel@webmail3.pair.com>
To: "Ben Adida" <ben@adida.net>
Cc: public-rdf-in-xhtml-tf@w3.org

When should it pick up an id attribute as a subject?

thanks,

Bob

On Thu, February 8, 2007 7:34 pm, Ben Adida wrote:
>
> This is a bug in the rdflib implementation: it should only look for the
> ABOUT attribute in the ancestor hierarchy.
>
> Michael: we should have a test case for this, to make sure random IDs
> are not being picked up by mistake.
>
> -Ben
>
> Bob DuCharme wrote:
>> The following seems oversimplified, but it does seem to reflect the
>> behavior I see in the RDFlib implementation of RDFa: when an RDFa
>> processor is looking for a subject to go with a predicate and an object,
>> it searches up the ancestor axis until it finds either an about
>> attribute
>> or an id attribute. The first of either that it finds becomes the
>> subject
>> for the triple.
>>
>> If this is an oversimplification, what am I missing? The syntax document
>> is a bit vague on the potential role of id attributes as subjects as
>> compared with about attributes.
>>
>> thanks,
>>
>> Bob
>>
>>
>
>
Received on Friday, 9 February 2007 15:41:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:03 GMT