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:
ACTION-123 on Richard Cyganiak to Summarize rdf:XMLLiteral options on the list - due 2011-11-23, closedACTION-169 on Richard Cyganiak to Implement ISSUE-13 resolution in RDF Concepts - due 2012-05-16, closed- Related emails:
- Re: Closing ISSUE-13 (from sandro@w3.org on 2012-05-12)
- Re: Closing ISSUE-13 (from andy.seaborne@epimorphics.com on 2012-05-11)
- Re: Closing ISSUE-13 (from phayes@ihmc.us on 2012-05-11)
- Re: Closing ISSUE-13 (from ivan@w3.org on 2012-05-11)
- Re: Closing ISSUE-13 (from richard@cyganiak.de on 2012-05-10)
- Re: Closing ISSUE-13 (from richard@cyganiak.de on 2012-05-10)
- Re: Closing ISSUE-13 (from phayes@ihmc.us on 2012-05-10)
- Re: Closing ISSUE-13 (from phayes@ihmc.us on 2012-05-10)
- Re: Closing ISSUE-13 (from ivan@w3.org on 2012-05-10)
- Re: Closing ISSUE-13 (from lehors@us.ibm.com on 2012-05-10)
- Re: Closing ISSUE-13 (from ivan@w3.org on 2012-05-10)
- Re: Closing ISSUE-13 (from richard@cyganiak.de on 2012-05-10)
- Re: Closing ISSUE-13 (from ivan@w3.org on 2012-05-10)
- Re: Closing ISSUE-13 (from richard@cyganiak.de on 2012-05-10)
- Re: Closing ISSUE-13 (from ivan@w3.org on 2012-05-10)
- Re: Closing ISSUE-13 (from richard@cyganiak.de on 2012-05-10)
- Re: Closing ISSUE-13 (from ivan@w3.org on 2012-05-10)
- Re: Closing ISSUE-13 (from richard@cyganiak.de on 2012-05-09)
- Closing ISSUE-13 (from david@3roundstones.com on 2012-05-09)
- Re: Proposal for rdf:XMLLiteral (ISSUE-13) (from ivan@w3.org on 2012-05-01)
- Proposal for rdf:XMLLiteral (ISSUE-13) (from richard@cyganiak.de on 2012-05-01)
- Re: ISSUE-13: a proposal for rdf:XMLLiteral (from phayes@ihmc.us on 2011-11-18)
- Re: ISSUE-13: a proposal for rdf:XMLLiteral (from ivan@w3.org on 2011-11-17)
- Re: ISSUE-13: a proposal for rdf:XMLLiteral (from richard@cyganiak.de on 2011-11-16)
- Re: ISSUE-13: a proposal for rdf:XMLLiteral (from jeremy@topquadrant.com on 2011-11-16)
- Re: ISSUE-13: a proposal for rdf:XMLLiteral (from pfps@research.bell-labs.com on 2011-11-16)
- Re: ISSUE-13: a proposal for rdf:XMLLiteral (from ivan@w3.org on 2011-11-16)
- ISSUE-13: a proposal for rdf:XMLLiteral (from pfps@research.bell-labs.com on 2011-11-16)
- Re: ISSUE-13: History of rdf:XMLLiteral (from jeremy@topquadrant.com on 2011-11-11)
- Re: ISSUE-13: History of rdf:XMLLiteral (from andy.seaborne@epimorphics.com on 2011-11-11)
- Re: ISSUE-13: History of rdf:XMLLiteral (from steve.harris@garlik.com on 2011-11-11)
- Re: ISSUE-13: History of rdf:XMLLiteral (from ivan@w3.org on 2011-11-11)
- Re: ISSUE-13: History of rdf:XMLLiteral (from ivan@w3.org on 2011-11-11)
- Re: ISSUE-13: History of rdf:XMLLiteral (from richard@cyganiak.de on 2011-11-10)
- Re: ISSUE-13: History of rdf:XMLLiteral (from jeremy@topquadrant.com on 2011-11-10)
- Re: ISSUE-13: History of rdf:XMLLiteral (from richard@cyganiak.de on 2011-11-10)
- Re: ISSUE-13: History of rdf:XMLLiteral (from richard@cyganiak.de on 2011-11-10)
- Re: ISSUE-13: History of rdf:XMLLiteral (from ian.davis@talis.com on 2011-11-10)
- Re: ISSUE-13: History of rdf:XMLLiteral (from jeremy@topquadrant.com on 2011-11-10)
- Re: ISSUE-13: History of rdf:XMLLiteral (from richard@cyganiak.de on 2011-11-10)
- Re: ISSUE-13: History of rdf:XMLLiteral (from cgreer@marklogic.com on 2011-11-10)
- Re: ISSUE-13: History of rdf:XMLLiteral (from ivan@w3.org on 2011-11-10)
- Re: ISSUE-13: History of rdf:XMLLiteral (from richard@cyganiak.de on 2011-11-10)
- Re: ISSUE-13: History of rdf:XMLLiteral (from ivan@w3.org on 2011-11-10)
- ISSUE-13: History of rdf:XMLLiteral (from richard@cyganiak.de on 2011-11-10)
- Re: RDF-ISSUE-13 (RDF XMLLiterals): Review RDF XML Literals [Cleanup tasks][Turtle][JSON] (from andy.seaborne@epimorphics.com on 2011-03-10)
- Re: RDF-ISSUE-13 (RDF XMLLiterals): Review RDF XML Literals [Cleanup tasks][Turtle][JSON] (from ivan@w3.org on 2011-03-10)
- Re: RDF-ISSUE-13 (RDF XMLLiterals): Review RDF XML Literals [Cleanup tasks][Turtle][JSON] (from jeremy@topquadrant.com on 2011-03-09)
- Re: RDF-ISSUE-13 (RDF XMLLiterals): Review RDF XML Literals [Cleanup tasks][Turtle][JSON] (from jeremy@topquadrant.com on 2011-03-09)
- Re: RDF-ISSUE-13 (RDF XMLLiterals): Review RDF XML Literals [Cleanup tasks][Turtle][JSON] (from ivan@w3.org on 2011-03-09)
- Re: RDF-ISSUE-13 (RDF XMLLiterals): Review RDF XML Literals [Cleanup tasks] (from jeremy@topquadrant.com on 2011-03-08)
- Re: RDF-ISSUE-13 (RDF XMLLiterals): Review RDF XML Literals [Cleanup tasks] (from jeremy@topquadrant.com on 2011-03-08)
- Re: RDF-ISSUE-13 (RDF XMLLiterals): Review RDF XML Literals [Cleanup tasks] (from ivan@w3.org on 2011-03-08)
- Re: RDF-ISSUE-13 (RDF XMLLiterals): Review RDF XML Literals [Cleanup tasks] (from jeremy@topquadrant.com on 2011-03-07)
- Re: RDF-ISSUE-13 (RDF XMLLiterals): Review RDF XML Literals [Cleanup tasks] (from ivan@w3.org on 2011-03-07)
- 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:34RESOLVED: 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
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
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.
Display change log