- From: Jeremy Carroll <jjc@hplb.hpl.hp.com>
- Date: Mon, 18 Aug 2003 12:17:15 +0100
- To: Dave Beckett <dave.beckett@bristol.ac.uk>
- CC: w3c-rdfcore-wg@w3.org
> > For element e and the literal l. > > l is an XML Infoset of XML Information items and is not transformed by > the mapping to the syntax data model. l (rdf:parseType="Literal" > content) is mapped to an [1]XML literal in the RDF graph. > > This mapping from the XML information items in l to the XML literal > Unicode string x is done as follows, or by any method that gives the > same result: > * Use l to construct an XPath[XPATH] [2]node-set (a [3]document > subset) > * Apply [4]Exclusive XML Canonicalization [XML-XC14N]) with > comments and with empty [5]InclusiveNamespaces PrefixList to this > node-set to give a sequence of octets s > * This sequence of octets s can be considered to be a UTF-8 encoding > of some Unicode string x (sequence of Unicode characteres) > * The Unicode string x is used as the lexical form of l > > Then o := typed-literal(literal-value := x, literal-datatype := > http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral ) and the > following statement is added to the graph: > > e.parent.subject.string-value <e.URI> o.string-value . > Yes that spells it out. I am happy with this. Jeremy
Received on Monday, 18 August 2003 07:18:18 UTC