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

Re: attempting to merge the 'vocab' and 'profile' documents

From: Toby Inkster <tai@g5n.co.uk>
Date: Wed, 10 Mar 2010 23:17:12 +0000
To: Mark Birbeck <mark.birbeck@webbackplane.com>
Cc: Ivan Herman <ivan@w3.org>, Ben Adida <ben@adida.net>, W3C RDFa WG <public-rdfa-wg@w3.org>
Message-ID: <1268263032.27087.73.camel@ophelia2.g5n.co.uk>
On Wed, 2010-03-10 at 19:05 +0000, Mark Birbeck wrote:
> Note also that this idea of 'tokens' brings our predefined keywords
> into harmony with prefix-mappings; using the new 'optional colon'
> rule, we can see that the predefined token 'next' is no different to
> the following longhand:
>   <div xmlns:next="http://www.w3.org/1999/xhtml/vocab#next">
>     <a rel="next" href="blah">go to next document</a>
>   </div> 

It is still slightly different, in that the predefined keywords are
case-correcting (i.e. detected case-insensitively, but automatically
mapped to the correct case) and only apply in particular attributes.

I do however see the appeal in defining tokens as an extension of the
existing prefix mechanism. RDF::RDFa::Parser actually implements this
already as an option, disabled by default. If anyone wants to play with
it, you can add the following to your document to opt-in:

  <meta name="http://search.cpan.org/dist/RDF-RDFa-Parser/#auto_config"
        content="prefix_bare=1" />

And then parse it using either of these endpoints:


Toby A Inkster
Received on Wednesday, 10 March 2010 23:17:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:19:46 UTC