- From: Ivan Herman <ivan@w3.org>
- Date: Mon, 15 Mar 2010 07:23:52 +0100
- To: Manu Sporny <msporny@digitalbazaar.com>
- CC: RDFa WG <public-rdfa-wg@w3.org>
- Message-ID: <4B9DD278.7000801@w3.org>
On 2010-3-15 03:59 , Manu Sporny wrote: > This proposal outlines another potential implementation of the RDFa > Profiles feature. It also defines @map as preferred to @xmlns, but for a > different reason than the last proposal. The name @map is proposed in > addition to rdfa:alias for extending the "list of mappings". The key > difference is that neither @xmlns nor @map statements can be imported > via the @profile attribute. > > Proposal > -------- > > * @xmlns is preserved and operates as it normally does in RDFa 1.0. > @xmlns is no longer required in languages that are namespace-unaware, > like HTML5. Agreed > * A new attribute is introduced called @map. The attribute contains > a set of key/value mappings. The syntax for map is the same as CSS, > which will make it easier to use for those already familiar with CSS. I thought we had a discussion a while ago on giving an alternative to @xmlns (confusingly enough I think we called that @vocab). This has been put on ice, but yes, it is worth picking this up again. At the moment I see that as a completely orthogonal issue to the current @profile discussion. > * @xmlns: extends the "list of mappings" in the current element scope > for languages that support it. I do not understand what you mean:-( This is already in place, right? > * @map extends the "list of mappings" in the current element scope. ... just as @xmlns does > * A new RDFa Vocabulary is created with one term - rdfa:alias. > rdfa:alias is used to extend the "list of mappings" in documents > that import RDFa Profile document. > Why is that different from the proposal in http://www.w3.org/2010/02/rdfa/drafts/2010/ED-vocab-20100311/ (except of course for the property names, but that is a detail) Sorry, I do not really understand the direction this is going... Ivan > Examples > -------- > > Example of @map in a regular RDFa document: > > <div map="dc: http://purl.org/dc/terms/ ; > Person: http://xmlns.com/foaf/0.1/Person"> > <span property="dc:title">The @map proposal</span> > ... > </div> > > Example in RDFa Profile document: > > <div about="http://xmlns.com/foaf/0.1/Person"> > <span property="rdfa:alias">Person</span> > </div> > <div about="http://xmlns.com/foaf/0.1/name"> > <span property="rdfa:alias">name</span> > </div> > > Example in RDFa document that utilizes the Profile document above: > > <div profile="http://example.org/foaf-profile" > about="#manu" typeof="Person"> > <span property="name">Manu Sporny</span> > </div> > > -- manu > -- Ivan Herman, W3C Semantic Web Activity Lead Home: http://www.w3.org/People/Ivan/ mobile: +31-641044153 PGP Key: http://www.ivan-herman.net/pgpkey.html FOAF : http://www.ivan-herman.net/foaf.rdf vCard : http://www.ivan-herman.net/HermanIvan.vcf
Attachments
- application/pkcs7-signature attachment: S/MIME Cryptographic Signature
Received on Monday, 15 March 2010 06:23:22 UTC