W3C home > Mailing lists > Public > public-html-data-tf@w3.org > October 2011

Re: htmldata-ISSUE-2 (Use of rdf:XMLLiteral): Should Microdata-RDF generate XMLLiteral values [Microdata to RDF]

From: Henri Sivonen <hsivonen@iki.fi>
Date: Tue, 25 Oct 2011 11:26:39 +0300
Message-ID: <CAJQvAudmu7XYJi4+P4WTZcX7f3c_HW3Zq+4uQ-m=w+GBV_GBRQ@mail.gmail.com>
To: HTML Data Task Force WG <public-html-data-tf@w3.org>
On Thu, Oct 20, 2011 at 9:42 PM, HTML Data Task Force Issue Tracker
<sysbot+tracker@w3.org> wrote:
> Some examples in the wild [1] use an item with Microdata use @itemprop with a HTML content. Current processing rules are to extract the textual content, and remove the markup.
>
> Should the Microdata to RDF spec parallel RDFa and generate an rdf:XMLLiteral in this case?

I think Microdata to RDF conversion should not generate an XML literal
in this case, because XML literals are not part of the Microdata data
model and conversion to RDF shouldn't give meaning to syntactic
artifacts that don't have meaning in Microdata.

It would be bad to have Microdata-looking markup mean different things
depending on whether the consumer has RDF-based internals or not.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Tuesday, 25 October 2011 08:27:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 25 October 2011 08:27:15 GMT