Re: ISSUE-121: CR Comment: clarification of default namespace

Hello,

> section 7 says the RDFa default prefix mapping is
> http://www.w3.org/1999/xhtml/vocab# and has to be used when the prefix but
> not the colon is omitted in a CURIE. At the bottom of page 53 is then said
> that "the mapping to use with the default prefix is the current default
> mapping" which would be the value of @xmlns in scope and therefore normally
> http://www.w3.org/1999/xhtml (section 4.1).

The top of that section says:

  "...in RDFa the 'default prefix' mapping is
http://www.w3.org/1999/xhtml/vocab#."

So perhaps we could make this clearer at the bottom of the section by saying:

 "the mapping to use with the default prefix is the current default
prefix mapping"

I.e., adding the word "prefix".


> According to that, in Test 63 the predicate would be
> http://www.w3.org/1999/xhtmlnext rather than
> http://www.w3.org/1999/xhtml/vocab#next (rel=":next"). Additionally, page 29
> states that the prefix http://www.w3.org/1999/xhtml/vocab# should be used
> only for values in @rel/@rev without prefix and colon. Please correct me if
> I misunderstood this part.
> """

I'm having trouble working out what part of the spec this is referring
to, because of the page number thing.

But the intention is that the @rel/@rev values are 'tokens' that map
to a URI. In other words, they are not 'unprefixed' values that then
acquire a prefix. It just so happens that all of the 'fixed' values
map to URIs in the XHTML vocab space, but one of the tokens could just
as easily map to a URI in some other space.

The confusion probably arises because the CURIE syntax *in general*
does allow for unprefixed values, and explains how they should be
processed. But it also allows for a list of reserved values to be
defined, and that is the feature that we are using for @rel/@rev
values, and therefore why we say "the mapping to use when there is no
prefix is not defined".

Mark

-- 
Mark Birbeck, webBackplane

mark.birbeck@webBackplane.com

http://webBackplane.com/mark-birbeck

webBackplane is a trading name of Backplane Ltd. (company number
05972288, registered office: 2nd Floor, 69/85 Tabernacle Street,
London, EC2A 4RR)

Received on Thursday, 19 June 2008 21:18:25 UTC