W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > March 2012

Similar issue with another test Re: Error in test or error in spec?

From: Ivan Herman <ivan@w3.org>
Date: Wed, 7 Mar 2012 12:09:28 +0100
Cc: W3C RDFWA WG <public-rdfa-wg@w3.org>
Message-Id: <C8AC6600-1229-4B61-845A-15D9677C2590@w3.org>
To: Gregg Kellogg <gregg@kellogg-assoc.com>
The same structure as in this mail appears in test #78:

	<div about ="http://www.example.org/#somebody" rel="foaf:knows">
	    <p property="foaf:name">Ivan Herman</p>
	    <p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
	    <p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
	</div>

Note the line referring to Mark. A new test should be done, in my view:

	<div about ="http://www.example.org/#somebody" rel="foaf:knows">
	    <p property="foaf:name">Ivan Herman</p>
	    <p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p>
	    <p typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span></p>
	</div>

Ivan

P.S. Gregg, Manu: I am happy to make the new tests and upload them via git; but I did not want to do that without an approval.

On Mar 7, 2012, at 11:24 , Ivan Herman wrote:

> Small remarks...
> On Mar 7, 2012, at 11:11 , Ivan Herman wrote:
> 
>> This is what the CR phase is good for: reveal corner cases!
>> 
>> A simplified version of test #58 looks as follow (simplified, because in the original tests there were two, structurally identical foaf:Person statements, but it is unnecessary here):
> 
> Oops, sorry, I did not do any change after all:-)
> 
>> 
>>   <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>
>> 
> 
> [snip]
> 
>> 
>> My conclusion for now: the test is wrong. We should redo altogether
> 
> To be more precise: we should do a new test for the RDFa 1.1 case and keep the old one for the RDFa 1.0 case!
> 
> Ivan
> 
> 
> 
>> because, of course, with those values it looks weird and, I guess, the goal was to use it as a test for hanging rels:
>> 
>>  <div about="http://www.example.org/#ben" rel="foaf:knows">
>>     <p typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span></p>
>>     <p typeof="foaf:Person"><span property="foaf:name">Ivan Herman</span></p>
>>   </div>
>> 
>> which indeed results in 
>> 
>> @prefix foaf: <http://xmlns.com/foaf/0.1/> .
>> 
>> <http://www.example.org/#ben> foaf:knows [ a foaf:Person;
>>           foaf:name "Mark Birbeck" ],
>>       [ a foaf:Person;
>>           foaf:name "Ivan Herman" ] .
>> 
>> 
>> 
>> Thoughts?
>> 
>> 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
>> 
>> 
>> 
>> 
>> 
> 
> 
> ----
> 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
> 
> 
> 
> 
> 


----
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 Wednesday, 7 March 2012 11:09:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:05:30 UTC