- From: Leif Halvard Silli <lhs@malform.no>
- Date: Mon, 25 May 2009 04:48:19 +0200
- To: RDF in XHTML tf <public-rdf-in-xhtml-tf@w3.org>
- CC: Steven.Pemberton@cwi.nl
Leif Halvard Silli On 09-05-22 00.34: > The Dublin Core example in the "Extending Metadata in XHTML" section > of the "RDFa Tutorial" uses an old profile: > > http://dublincore.org/documents/dcq-html/ > > It would probably be a good idea to replace it with the profile that > since 2008-08-04 has replaced it: > > http://dublincore.org/documents/dc-html/ Additionally ... The purpose of the RDFa Tutorial is of course not not teach DC-HTML. But as long as the example lacks the DC namespace declaration, <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" > then it becomes harder to understand the differences and likenesses between RDFa-XHTML and DC-HTML: * The prefix syntax differs, but it is a striking likeness that both of them relies on namespaces and prefixes. * As it stands, one might easily be lead to think that it is the use of <head profile="http://dublincore.org/documents/dcq-html/"> in itself that gives meaning to @name="DC.title". But all that the profile does is that it permits "DC.word" to be interpreted as a DC property. But without "schema.DC" there is actually no formal link between the namespace and the prefix (as required, for RDF compliance [1]). * DC-HTML can only affect the things that HTML allows @profile to affect (@class, <meta>, @rel, meta@scheme, meta@content meta@name ). Thus: The example code highlights the head element. But I'd suggest adding link@rel=schema.DC and highlighting that as well. Another thing: the DC-HTML profile adds a vocabulary/vocabulary convention. While RDFa adds some attributes which are reserved for a vocabulary convention (prefixed vocabularies). But there is nothing in that code example which tells that those attributes have been allowed in this document. In order to make the examples correspond to each others, I would have done that - or told that it isn't necessary (if it isn't necessary). [1] http://dublincore.org/documents/dc-html-notes/#sect-4 -- leif halvard silli
Received on Monday, 25 May 2009 02:49:03 UTC