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.>
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?



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 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:01:49 UTC