W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > August 2003

Re: Draft of XML Literal words for RDF/XML syntax doc

From: Jeremy Carroll <jjc@hplb.hpl.hp.com>
Date: Mon, 18 Aug 2003 12:17:15 +0100
Message-ID: <3F40B5BB.9010200@hplb.hpl.hp.com>
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.

Received on Monday, 18 August 2003 07:18:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:24:24 UTC