Re: XHTML namespace doc updates made for GRDDL transform

Manu Sporny wrote:
> Shane McCarron wrote:
>   
>> You could ask on the call today, but my recollection is that this was
>> done because @property had no legacy to support.  Personally I think
>> this was a mistake - that the XHTML 2 paradigm that any non-prefixed
>> CURIE in any attribute is assumed to be from the XHTML vocabulary, but I
>> was out voted.  So now the only place we have simple values are in @rel
>> and @rev.
>>     
>
> Yes, that was my recollection as well - @property had no legacy to
> support, thus can't have non-prefixed values in it.
>
> However, if we get this automatic prefixing mechanism[1] into RDFa, both
> your and Steven's issues would be addressed, correct? It would allow you
> to do this:
>
> <div prefix="http://www.w3.org/1999/xhtml/vocab#" about="">
>    <span property="description">...</span>
> </div>
>   
Maybe.  I think that the right way to do this is to say that in 
XHTML+RDFa the default mapping for non-prefixed CURIEs is the XHTML 
vocabulary.  In other words, a parser would start out with that default 
mapping in its mapping table.  Then, if it encountered @prefix as above, 
it would override the default for that element and its children.  That 
way it is compatible with what we have today.  Sort of.  The other way 
to do this would be to say that our current reserved words remain 
reserved - any unprefixed CURIE that matches one of those tokens is 
interpreted as such.  Otherwise, if there is a defined default prefix 
mapping use that.  If there is not, then do not generate a triple.  That 
would be 100% compatible with what we have in the 1.0 version.

I *still* don't understand the difference between "reserved words" and 
having a default prefix mapping for non-prefixed CURIEs.  Other than as 
a "mental model".  If there is a default prefix in effect, then any 
non-prefixed CURIEs should be interpreted as using that prefix.  At 
least, that's how I look at it. 

-- 
Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: shane@aptest.com

Received on Thursday, 25 September 2008 15:05:16 UTC