ISSUE-19: Should RDFa 1.1 generate XMLLiterals or plain literals for content that contains elements

Default generation of XMLLiterals

Should RDFa 1.1 generate XMLLiterals or plain literals for content that contains elements

State:
CLOSED
Product:
RDFa 1.1 Core
Raised by:
Manu Sporny
Opened on:
2010-03-01
Description:
The RDFa 1.0 specification states that RDFa processors should generate XMLLiterals for content that contains elements and does not contain a datatype. For example, the following markup would generate an XML Literal:

<span property="foaf:name">Albert <strong>Einstein</strong></span>

whose value would be:

<>
foaf:name
"Albert <strong>Einstein</strong>"^^rdf:XMLLiteral

Anecdotal evidence via deployment experience has shown that this is a common authoring mistake and that most authors do not intend to generate XMLLiterals when there is no @datatype specified. We need to collect a statistically significant sample set to determine if this is true and if so, ensure that plain literals are generated instead of XMLLiterals.

This approach could affect backwards-compatibility if there is no @version specifier on the document, so the change should be considered carefully as it could negatively impact large deployments that depend on XMLLiteral generation.

Google or Yahoo should be able to do the statistical analysis on the frequency that XMLLiterals are generated.
Related Actions Items:
No related actions
Related emails:
  1. Re: ISSUE-147 (preserve markup by default): RDFa Processors should preserve markup by default [RDFa 1.1 in HTML5] (from gregg@greggkellogg.net on 2012-12-29)
  2. Re: ISSUE-147 (preserve markup by default): RDFa Processors should preserve markup by default [RDFa 1.1 in HTML5] (from ivan@w3.org on 2012-12-29)
  3. Re: ISSUE-147 (preserve markup by default): RDFa Processors should preserve markup by default [RDFa 1.1 in HTML5] (from sebastian.heath@gmail.com on 2012-12-29)
  4. Re: Preserving markup when distilling @property values in xhtml (from sebastian.heath@gmail.com on 2012-12-22)
  5. Re: Preserving markup when distilling @property values in xhtml (from msporny@digitalbazaar.com on 2012-12-21)
  6. RDFa WG telecon minutes for 2010-05-13 (from msporny@digitalbazaar.com on 2010-05-13)
  7. Re: Telecon Agenda - 13th May 2010, 1400 UTC (from mark.birbeck@webbackplane.com on 2010-05-13)
  8. Re: Telecon Agenda - 13th May 2010, 1400 UTC (from benjamin.adrian@dfki.de on 2010-05-11)
  9. Telecon Agenda - 13th May 2010, 1400 UTC (from msporny@digitalbazaar.com on 2010-05-10)
  10. Re: Does RDFa processing recurse into content:encoded? (from scorlosquet@gmail.com on 2010-03-15)
  11. Re: Does RDFa processing recurse into content:encoded? (from msporny@digitalbazaar.com on 2010-03-14)
  12. ISSUE-19 (Default generation of XMLLiterals): Should RDFa 1.1 generate XMLLiterals or plain literals for content that contains elements [RDFa 1.1 Core] (from sysbot+tracker@w3.org on 2010-03-01)

Related notes:

RESOLVED: By default RDFa 1.1 should generate Plain Literals even when there are elements in a subtree, unless datatype="rdf:XMLLiteral" is specified.

http://www.w3.org/2010/02/rdfa/meetings/2010-05-13#resolution_2

Manu Sporny, 17 May 2010, 02:00:51

Display change log ATOM feed


Chair, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 19.html,v 1.1 2015/03/27 14:12:22 vivien Exp $