- From: Diego Berrueta Muñoz <diego.berrueta@fundacionctic.org>
- Date: Mon, 18 Feb 2008 19:54:56 +0100
- To: Manu Sporny <msporny@digitalbazaar.com>
- Cc: "public-rdf-in-xhtml-tf.w3.org" <public-rdf-in-xhtml-tf@w3.org>
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 UTC