- From: Ivan Herman <ivan@w3.org>
- Date: Tue, 22 May 2012 14:37:12 +0200
- To: Toby Inkster <tai@g5n.co.uk>
- Cc: Dominik Tomaszuk <ddooss@wp.pl>, public-rww <public-rww@w3.org>
Toby, as usual, you are right and I am actually surprised that @value is interpreted in such a liberal manner. But, well, that is fine. Ivan On May 22, 2012, at 12:45 , Toby Inkster wrote: > 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> > > ---- Ivan Herman, W3C Semantic Web Activity Lead Home: http://www.w3.org/People/Ivan/ mobile: +31-641044153 FOAF: http://www.ivan-herman.net/foaf.rdf
Received on Tuesday, 22 May 2012 12:34:09 UTC