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

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 UTC