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

Re: review of current draft of 'RDFa syntax (Jan 25th, 2008)'

From: Diego Berrueta Muñoz <diego.berrueta@fundacionctic.org>
Date: Mon, 18 Feb 2008 19:54:56 +0100
Cc: "public-rdf-in-xhtml-tf.w3.org" <public-rdf-in-xhtml-tf@w3.org>
Message-Id: <0F9BEFFB-FC04-40A8-9BF5-CE810E3434D0@fundacionctic.org>
To: Manu Sporny <msporny@digitalbazaar.com>

Thank you for the clarification, Manu, I just wanted to be sure.

Cheers,

El 18/02/2008, a las 17:30, Manu Sporny escribió:

> Diego Berrueta wrote:
>>> Section 5.5.9 states that anything with a blank datatype should be
>>> treated as a plain literal. The only time that you do not recurse is
>>> when the type is rdf:XMLLiteral.
>>>
>>> We do not have a unit test that tests this particular  
>>> functionality yet,
>>> but we will add it in the next week or two.
>>
>> I think you've already answered it, but my actual question was: can  
>> you
>> confirm that the triple:
>>
>>  dbpedia:Albert_Einstein foaf:familyName "Einstein".
>>
>> is part of the outcome of processing the fragment above? Ie, does the
>> parser descend recursively to the children of an element that  
>> contains
>> @datatype=""?
>
> Yes, confirmed. The triple:
>
> dbpedia:Albert_Einstein foaf:familyName "Einstein" .
>
> is generated in the example that you gave. The only thing that would
> cause that triple to NOT be generated is if the datatype were set to
> "rdf:XMLLiteral" OR datatype was not specified.
>
> If the datatype is not specified, and the descendent elements contain
> XML elements, then the datatype is assumed to be "rdf:XMLLiteral".
>
> -- manu
>
> -- 
> Manu Sporny
> President/CEO - Digital Bazaar, Inc.
> blog: RDFa Basics in 8 minutes (video)
> http://blog.digitalbazaar.com/2008/01/07/rdfa-basics/
Received on Monday, 18 February 2008 18:55:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 18 February 2008 18:55:17 GMT