W3C home > Mailing lists > Public > www-validator@w3.org > August 2011

Re: [VE][html5] Problem with dublin core

From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Sun, 21 Aug 2011 00:28:40 +0200
To: Josef Chmel <pepa@testmir.cz>
Cc: www-validator@w3.org
Message-ID: <20110821002840989030.5ec30c3f@xn--mlform-iua.no>
Josef Chmel, Sat, 20 Aug 2011 12:31:05 +0200:
> Validating http://www.testmir.cz/

> Error [html5]: "Line 3, Column 69: The profile attribute on the head 
> element is obsolete. To declare which meta terms are used in the 
> document, instead register the names as meta extensions. To trigger 
> specific UA behaviors, use a link element instead. 
> <head profile="http://dublincore.org/documents/2008/08/04/dc-html/">"
> I dont know how to add dublin core metadata to HTML5 document. I dod 
> not found any example or solution.
> Please help me.

Option 1: Use RDFa in HTML, which covers HTMl5 and which is in Last 
Call. [1] RDFa in HTML includes all the RDFa attributes. [2] Including 
the @profile attribute. The only problem is validation - at least 
W3.org does not offer any validation service.

Option 2: consider using <link rel=profile 
href="http://dublincore.org/documents/2008/08/04/dc-html/" > instead of 
<head profile="http://dublincore.org/documents/2008/08/04/dc-html/" >. 
(I don't know how this twist eventually affects Dublin Core consumers, 
though - it probably would be smart to take it up with the DC folks, 
may be they could make it part of the official DC spec: 
http://www.dublincore.org/documents/dc-html/ ) For more about 
rel=profile, see: http://microformats.org/wiki/rel-profile

[1] http://www.w3.org/TR/rdfa-in-html/

[2] http://www.w3.org/TR/rdfa-core/#s_syntax

Leif H Silli
Received on Saturday, 20 August 2011 22:29:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:04 UTC