ISSUE-13: Review RDF XML Literals

RDF XMLLiterals

Review RDF XML Literals

State:
CLOSED
Product:
RDF Semantics
Raised by:
Andy Seaborne
Opened on:
2011-03-07
Description:
RDF Concepts:
http://www.w3.org/TR/rdf-concepts/#section-XMLLiteral

RDF Syntax:
http://www.w3.org/TR/REC-rdf-syntax/#section-Syntax-XML-literals

The lexical space of RDF XML Literals is XML fragments which are required to be "exclusive canonical XML". The lexical space and the value space are in 1-1 correspondence. The rules are quite complicated. These rules for canonicalization apply to the lexical form; equality testing can be done using string compare.

Canonicalization rules include no use of <tag/> and that attributes must be in sorted order (this is not an exhaustive list).

A consequence of this is that many correct XML fragments are not legal as XML Literals because they do not correspond to exclusive canonicalization.

Possible cleanup includes partially relaxing the lexical space restrictions while retaining the value space so that fragments can be used as XML literals without complex processing.

RDF XML Literals are the only datatype hard wired into RDF.

If a Turtle document is to be validated, will that require access to an XML parser and canonicalization engine?
Related Actions Items:
Related emails:
  1. Re: Closing ISSUE-13 (from sandro@w3.org on 2012-05-12)
  2. Re: Closing ISSUE-13 (from andy.seaborne@epimorphics.com on 2012-05-11)
  3. Re: Closing ISSUE-13 (from phayes@ihmc.us on 2012-05-11)
  4. Re: Closing ISSUE-13 (from ivan@w3.org on 2012-05-11)
  5. Re: Closing ISSUE-13 (from richard@cyganiak.de on 2012-05-10)
  6. Re: Closing ISSUE-13 (from richard@cyganiak.de on 2012-05-10)
  7. Re: Closing ISSUE-13 (from phayes@ihmc.us on 2012-05-10)
  8. Re: Closing ISSUE-13 (from phayes@ihmc.us on 2012-05-10)
  9. Re: Closing ISSUE-13 (from ivan@w3.org on 2012-05-10)
  10. Re: Closing ISSUE-13 (from lehors@us.ibm.com on 2012-05-10)
  11. Re: Closing ISSUE-13 (from ivan@w3.org on 2012-05-10)
  12. Re: Closing ISSUE-13 (from richard@cyganiak.de on 2012-05-10)
  13. Re: Closing ISSUE-13 (from ivan@w3.org on 2012-05-10)
  14. Re: Closing ISSUE-13 (from richard@cyganiak.de on 2012-05-10)
  15. Re: Closing ISSUE-13 (from ivan@w3.org on 2012-05-10)
  16. Re: Closing ISSUE-13 (from richard@cyganiak.de on 2012-05-10)
  17. Re: Closing ISSUE-13 (from ivan@w3.org on 2012-05-10)
  18. Re: Closing ISSUE-13 (from richard@cyganiak.de on 2012-05-09)
  19. Closing ISSUE-13 (from david@3roundstones.com on 2012-05-09)
  20. Re: Proposal for rdf:XMLLiteral (ISSUE-13) (from ivan@w3.org on 2012-05-01)
  21. Proposal for rdf:XMLLiteral (ISSUE-13) (from richard@cyganiak.de on 2012-05-01)
  22. Re: ISSUE-13: a proposal for rdf:XMLLiteral (from phayes@ihmc.us on 2011-11-18)
  23. Re: ISSUE-13: a proposal for rdf:XMLLiteral (from ivan@w3.org on 2011-11-17)
  24. Re: ISSUE-13: a proposal for rdf:XMLLiteral (from richard@cyganiak.de on 2011-11-16)
  25. Re: ISSUE-13: a proposal for rdf:XMLLiteral (from jeremy@topquadrant.com on 2011-11-16)
  26. Re: ISSUE-13: a proposal for rdf:XMLLiteral (from pfps@research.bell-labs.com on 2011-11-16)
  27. Re: ISSUE-13: a proposal for rdf:XMLLiteral (from ivan@w3.org on 2011-11-16)
  28. ISSUE-13: a proposal for rdf:XMLLiteral (from pfps@research.bell-labs.com on 2011-11-16)
  29. Re: ISSUE-13: History of rdf:XMLLiteral (from jeremy@topquadrant.com on 2011-11-11)
  30. Re: ISSUE-13: History of rdf:XMLLiteral (from andy.seaborne@epimorphics.com on 2011-11-11)
  31. Re: ISSUE-13: History of rdf:XMLLiteral (from steve.harris@garlik.com on 2011-11-11)
  32. Re: ISSUE-13: History of rdf:XMLLiteral (from ivan@w3.org on 2011-11-11)
  33. Re: ISSUE-13: History of rdf:XMLLiteral (from ivan@w3.org on 2011-11-11)
  34. Re: ISSUE-13: History of rdf:XMLLiteral (from richard@cyganiak.de on 2011-11-10)
  35. Re: ISSUE-13: History of rdf:XMLLiteral (from jeremy@topquadrant.com on 2011-11-10)
  36. Re: ISSUE-13: History of rdf:XMLLiteral (from richard@cyganiak.de on 2011-11-10)
  37. Re: ISSUE-13: History of rdf:XMLLiteral (from richard@cyganiak.de on 2011-11-10)
  38. Re: ISSUE-13: History of rdf:XMLLiteral (from ian.davis@talis.com on 2011-11-10)
  39. Re: ISSUE-13: History of rdf:XMLLiteral (from jeremy@topquadrant.com on 2011-11-10)
  40. Re: ISSUE-13: History of rdf:XMLLiteral (from richard@cyganiak.de on 2011-11-10)
  41. Re: ISSUE-13: History of rdf:XMLLiteral (from cgreer@marklogic.com on 2011-11-10)
  42. Re: ISSUE-13: History of rdf:XMLLiteral (from ivan@w3.org on 2011-11-10)
  43. Re: ISSUE-13: History of rdf:XMLLiteral (from richard@cyganiak.de on 2011-11-10)
  44. Re: ISSUE-13: History of rdf:XMLLiteral (from ivan@w3.org on 2011-11-10)
  45. ISSUE-13: History of rdf:XMLLiteral (from richard@cyganiak.de on 2011-11-10)
  46. Re: RDF-ISSUE-13 (RDF XMLLiterals): Review RDF XML Literals [Cleanup tasks][Turtle][JSON] (from andy.seaborne@epimorphics.com on 2011-03-10)
  47. Re: RDF-ISSUE-13 (RDF XMLLiterals): Review RDF XML Literals [Cleanup tasks][Turtle][JSON] (from ivan@w3.org on 2011-03-10)
  48. Re: RDF-ISSUE-13 (RDF XMLLiterals): Review RDF XML Literals [Cleanup tasks][Turtle][JSON] (from jeremy@topquadrant.com on 2011-03-09)
  49. Re: RDF-ISSUE-13 (RDF XMLLiterals): Review RDF XML Literals [Cleanup tasks][Turtle][JSON] (from jeremy@topquadrant.com on 2011-03-09)
  50. Re: RDF-ISSUE-13 (RDF XMLLiterals): Review RDF XML Literals [Cleanup tasks][Turtle][JSON] (from ivan@w3.org on 2011-03-09)
  51. Re: RDF-ISSUE-13 (RDF XMLLiterals): Review RDF XML Literals [Cleanup tasks] (from jeremy@topquadrant.com on 2011-03-08)
  52. Re: RDF-ISSUE-13 (RDF XMLLiterals): Review RDF XML Literals [Cleanup tasks] (from jeremy@topquadrant.com on 2011-03-08)
  53. Re: RDF-ISSUE-13 (RDF XMLLiterals): Review RDF XML Literals [Cleanup tasks] (from ivan@w3.org on 2011-03-08)
  54. Re: RDF-ISSUE-13 (RDF XMLLiterals): Review RDF XML Literals [Cleanup tasks] (from jeremy@topquadrant.com on 2011-03-07)
  55. Re: RDF-ISSUE-13 (RDF XMLLiterals): Review RDF XML Literals [Cleanup tasks] (from ivan@w3.org on 2011-03-07)
  56. RDF-ISSUE-13 (RDF XMLLiterals): Review RDF XML Literals [Cleanup tasks] (from sysbot+tracker@w3.org on 2011-03-07)

Related notes:

See also http://www.w3.org/2011/rdf-wg/wiki/ArchaicFeatures#ISSUE-13:_XMLLiteral

Andy Seaborne, 13 Oct 2011, 16:49:34

RESOLVED: in RDF 1.1: [a] XMLLiterals are optional; [b] lexical space consists of well-formed XML fragments; [c] the canonical lexical form is http://www.w3.org/TR/xml-exc-c14n/, as defined in RDF 2004; [d] the value space consists of (normalized) DOM trees.

See resolution at:
http://www.w3.org/2011/rdf-wg/meeting/2012-05-09#resolution_1

David Wood, 9 May 2012, 16:35:18

RESOLVED: in RDF 1.1: [a] XMLLiterals are optional; [b] lexical space consists of well-formed XML fragments; [c] the canonical lexical form is http://www.w3.org/TR/xml-exc-c14n/, as defined in RDF 2004; [d] the value space consists of (normalized) DOM trees.

http://www.w3.org/2011/rdf-wg/meeting/2012-05-09

Richard Cyganiak, 9 May 2012, 16:42:48

Implemented in RDF Concepts:
http://dvcs.w3.org/hg/rdf/raw-file/default/rdf-concepts/index.html#section-XMLLiteral

RDF Semantics still needs to be modified accordingly.

Richard Cyganiak, 9 May 2012, 18:07:43

Display change log ATOM feed


Guus Schreiber <guus.schreiber@vu.nl>, Chair, Ivan Herman <ivan@w3.org>, Sandro Hawke <sandro@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 13.html,v 1.1 2014-07-09 12:17:56 carine Exp $