- From: Ivan Herman <ivan@w3.org>
- Date: Tue, 7 Feb 2012 15:04:40 +0100
- To: W3C RDFWA WG <public-rdfa-wg@w3.org>
- Cc: Manu Sporny <msporny@digitalbazaar.com>
- Message-Id: <15D4840F-9702-4430-8269-36414F48714A@w3.org>
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 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
Attachments
- application/pkcs7-signature attachment: smime.p7s
Received on Tuesday, 7 February 2012 14:05:32 UTC