- From: Gregg Kellogg <gregg@kellogg-assoc.com>
- Date: Tue, 7 Feb 2012 12:47:44 -0500
- To: Ivan Herman <ivan@w3.org>
- CC: W3C RDFWA WG <public-rdfa-wg@w3.org>, Manu Sporny <msporny@digitalbazaar.com>
On Feb 7, 2012, at 6:04 AM, Ivan Herman wrote: > > It seems that a change is required for test 0058 due to RDFa 1.0 and RDFa 1.1 changes > > The test is: > > <body> > <div about="http://www.example.org/#ben" rel="foaf:knows"> > <p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p> > <p typeof="foaf:Person" property="foaf:name">Ivan Herman</p> > </div> > </body> > > In RDFa 1.0, this led to > > <http://www.example.org/#ben> foaf:knows > [ foaf:name "Mark Birbeck" ], > [ foaf:name "Ivan Herman" ]. > > In RDFa 1.1, this leads to a pretty ugly (and unreasonable) set of triplets of the form: > > <http://www.example.org/#ben> foaf:knows > [ foaf:name [ a foaf:Person ], [ a foaf:Person ] ] . > > Due to the change in the relations between @typeof and @property (see 8.1.1.3.1 in the RDFa 1.1. Core). > > If we want to maintain the same target triples, the test has to be changed to: > > <body> > <div about="http://www.example.org/#ben"> > <p property="foaf:knows" typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span></p> > <p property="foaf:knows" typeof="foaf:Person"><span property="foaf:name">Ivan Herman</span></p> > </div> > </body> > > which has the advantage of testing the @property/@typeof relationship, too. > > Actually, if we want to keep the old tests for RDFa 1.0, then a better way, probably, is to add a new, RDFa 1.1 specific test for this case Agreed, we should have two separate tests. Leve as-is for RDFa 1.0 and create a new test for the RDFa 1.1 behavior. Gregg > Ivan > > ---- > Ivan Herman, W3C Semantic Web Activity Lead > Home: http://www.w3.org/People/Ivan/ > mobile: +31-641044153 > FOAF: http://www.ivan-herman.net/foaf.rdf > > > > >
Received on Tuesday, 7 February 2012 17:52:43 UTC