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

Re: Another way other than @profile, @vocab or @map

From: Martin McEvoy <martin@weborganics.co.uk>
Date: Fri, 19 Mar 2010 19:37:05 +0000
Message-ID: <4BA3D261.2020007@weborganics.co.uk>
CC: Shane McCarron <shane@aptest.com>, Toby Inkster <tai@g5n.co.uk>, Ivan Herman <ivan@w3.org>, RDFa WG <public-rdfa-wg@w3.org>
On 19/03/2010 16:53, I wrote:
>>> example:
>>>
>>> <body vocab="http://www.w3.org/2006/vcard/ns#">
>>> <div typeof="VCard" about="">
>>> <div property="fn">Fred</div>
>>> <a rel="url me" href="http://fred.example.com/">Home</a>
>>> </div>
>>> </body>
>>>
>>>
>>> the @rel value "me" is not a part of the vcard vocabulary, the 
>>> parser doesnt know that, How can a RDFa parser tell the difference 
>>> between a "qualified name" and some other name not included in the 
>>> vocab?

not that it is an issue one possible way to avoid this is to use xmlns 
to extend the list of valid keywords , I think mark suggested this 
approach in an earlier discussion....

> <body vocab="http://www.w3.org/2006/vcard/ns#"
>             xmlns:me="http://gmpg.org/xfn/11#me">
> <div typeof="VCard" about="">
> <div property="fn">Fred</div>
> <a rel="url me" href="http://fred.example.com/">Home</a>
> </div>
> </body> 

notice I omitted the ":" from me.

Just thoughts anyway

:)

Best wishes

-- 
Martin McEvoy
Received on Friday, 19 March 2010 19:37:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 04:55:06 GMT