let's keep metadata profiles (head/@profile) in HTML for use in GRDDL etc.

Hello from the W3C GRDDL Working Group,

HTML 4 introduced the profile attribute on the head element
a URI-based extension hook.

The use of this mechanism is not very common, but some
communities have endorsed it explicitly, for example:

<head profile="http://dublincore.org/documents/dcq-html/">
<title>Expressing Dublin Core in HTML/XHTML meta and link

 Expressing Dublin Core in HTML/XHTML meta and link elements
 DCMI Recommendation. 2003-11-30


<head profile='http://gmpg.org/xmdp/samplehtmlprofile.html'>

 Xhtml Meta Data Profiles (XMDP)

GRDDL is a mechanism for using XML documents, especially XHTML
documents, as Semantic Web data:

"This GRDDL specification introduces markup based on existing standards
for declaring that an XML document includes data compatible with the
Resource Description Framework (RDF) and for linking to algorithms
(typically represented in XSLT), for extracting this data from the
 -- http://www.w3.org/TR/grddl/

It lets source documents declare the syntax their written in using
pointers to convert this syntax to the standard RDF/XML syntax. The
pointers can be either direct or indirect, via a namespace document
or HTML profile.

At least a few web sites are using GRDDL to formalize microformats data
as Semantic Web data:
and there are several interoperable implementations and
a reasonably complete test suite of GRDDL:

The GRDDL use cases document discusses scenarios where consumers
use tools like HTML tidy to use HTML documents as if they were

While the current scope of GRDDL is limited to XML and XHTML,
it is mostly specified in terms of XPath, and it seems likely
that HTML 5 should work with XPath much the way XHTML does,
so that an HTML 5 parser should take the place of
HTML tidy plus an XML parser. So it looks technically straightforward
to revise GRDDL to work with HTML 5. Several of the implementations
already anticipate such a revision and support HTML documents
that are not well-formed XML by way of a "tag soup" parser.

The profile attribute on head is noted as one of the
attributes absent from current HTML 5 drafts.

We suggest adding it. The specification text in HTML 4 is
adequate in our experience.

If HTML 5 doesn't preserve this hook from HTML 4
and XHTML 1, the use of head/@profile will be less
formally ratified, but it seems unlikely to change.
Since implementations already exploit, it
seems likely that authors will continue to use it.

The cost of (re-)standardizing this markup seems moderate
and less than the value of preserving the current investment
in head/@profile into HTML 5 combined with the benefit
of endorsing this connection between HTML 5 and the
Semantic Web via GRDDL.

Dan Connolly and Harry Halpin for the W3C GRDDL Working Group

Received on Monday, 9 July 2007 21:58:37 UTC