W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > October 2010

Re: HTML5 Polyglot spec and RDFa

From: Shane McCarron <shane@aptest.com>
Date: Sat, 09 Oct 2010 10:52:57 -0500
Message-ID: <4CB08FD9.2050706@aptest.com>
To: nathan@webr3.org
CC: Ivan Herman <ivan@w3.org>, Manu Sporny <msporny@digitalbazaar.com>, RDFa WG <public-rdfa-wg@w3.org>
  Yes - this was part of the rationale for requiring that 'terms' always 
be processed in a case insensitive manner.  I appreciate the use case 
where there might be a hybrid vocabulary defined that brought in terms 
that differ only in case.  I propose that we include in the RDFa Core 
spec (in the section on RDFa Profiles) a note that when defining such a 
profile, the author should either forgo one of the terms OR, more 
interestingly, change one of the terms so that there is no collision.  
For example, stealing from Gregg's example the other day:
>
> [ rdfa:term "agent"; rdfa:uri 
> "http://purl.org/NET/c4dm/event.owl#agent" ] .
> [ rdfa:term "Agent"; rdfa:uri "http://xmlns.com/foaf/0.1/Agent" ] .
>

Basically, don't do that.  Instead, do:


[ rdfa:term "owlAgent"; rdfa:uri 
"http://purl.org/NET/c4dm/event.owl#agent" ] .
[ rdfa:term "foafAgent"; rdfa:uri "http://xmlns.com/foaf/0.1/Agent" ] .

No conflict - viola!



On 10/9/2010 10:44 AM, Nathan wrote:
> Worth noting that as per the RFC-to-be 5988 'Web Linking' [1], which 
> covers 'edit' 'next' 'alternative' and all the common HTML rel's:
>
> "Registered relation type names MUST conform to the reg-rel-type rule, 
> and MUST be compared character-by-character in a case-insensitive 
> fashion."
>
> [1] http://tools.ietf.org/html/draft-nottingham-http-link-header-10
> (text actually taken from the rfc-to-be but the links a bit long)
>
> Ivan Herman wrote:
>> This case insensitiveness issue is really biting.
>>
>> Manu, Shane, don't we have the same issue with @rev? That is also 
>> listed in
>>
>> http://www.w3.org/TR/2010/WD-html-polyglot-20100624/#attribute-values
>>
>> Ivan
>>
>> On Oct 8, 2010, at 02:20 , Manu Sporny wrote:
>>
>>> Greetings gentledudes and gentledudettes,
>>>
>>> There was a bug that was logged against the Polyglot HTML5 spec that
>>> raised some issues with how values in @rel (among other values) were
>>> affected by some of the Polyglot authoring guidelines. The details can
>>> be found here:
>>>
>>> http://www.w3.org/Bugs/Public/show_bug.cgi?id=10167
>>>
>>> If you care about RDFa documents that can be expressed as both XHTML 
>>> and
>>> HTML5 simultaneously, please take a look at the bug resolution and make
>>> sure that you agree with it. We have 7 days to respond before the 
>>> bug is
>>> resolved.
>>>
>>> -- manu
>>>
>>> -- 
>>> Manu Sporny (skype: msporny, twitter: manusporny)
>>> President/CEO - Digital Bazaar, Inc.
>>> blog: Saving Journalism - The PaySwarm Developer API
>>> http://digitalbazaar.com/2010/09/12/payswarm-api/
>>>
>>
>>
>> ----
>> Ivan Herman, W3C Semantic Web Activity Lead
>> Home: http://www.w3.org/People/Ivan/
>> mobile: +31-641044153
>> PGP Key: http://www.ivan-herman.net/pgpkey.html
>> FOAF: http://www.ivan-herman.net/foaf.rdf
>>
>>
>>
>>
>>
>

-- 
Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: shane@aptest.com
Received on Saturday, 9 October 2010 15:53:39 UTC

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