Re: Comments about the RDFa representation in Pingback

On Tue, 22 May 2012 11:23:41 +0200
Ivan Herman <ivan@w3.org> wrote:

> RDFa does not take the @value into account.

It does in HTML; not in XHTML.

http://www.w3.org/TR/rdfa-in-html/#additional-rdfa-processing-rules

"the HTML5 value attribute must be utilized when generating output. If
value is detected, it must override and be processed according to the
rules for content."

I believe this rule was added to cope with the <data> element (not sure
of <data>'s current status in HTML5 - it's been in and out of favour):

	<p typeof="foaf:Person">
	  He is <data property="foaf:age" value="18">eighteen</data>.
	</p>

... but the HTML+RDFa spec doesn't limit @value processing to <data>,
so it seems to me it should work for <input> too. (And, interestingly,
<param>...)

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>

Received on Tuesday, 22 May 2012 10:44:53 UTC