W3C home > Mailing lists > Public > www-rdf-comments@w3.org > July to September 2003

Re: Test cases: XML Literal value space and exclusive canonicalization

From: Dave Beckett <dave.beckett@bristol.ac.uk>
Date: Fri, 15 Aug 2003 10:39:46 +0100
To: Martin Duerst <duerst@w3.org>
Cc: www-rdf-comments@w3.org, Benja Fallenstein <b.fallenstein@gmx.de>, Jeremy Carroll <jjc@hplb.hpl.hp.com>, w3c-rdfcore-wg@w3.org, w3c-i18n-ig@w3.org, msm@w3.org
Message-Id: <20030815103946.57b432b4.dave.beckett@bristol.ac.uk>

Preserving the thread, but answering just this point:

On Mon, 04 Aug 2003 10:55:01 -0400 Martin Duerst <duerst@w3.org> wrote:

<snip/> [on A) "<br/"> canonicalization ]

> I agree that it would be a bad idea to try to provide an exc-C14N
> test suite. I think it would be good to add an example like this
> just to document how RDF/XML syntax, lexical value, and so on,
> are related, and in particular, that they are not exactly the same.

The RDF Core WG has agreed to add a test to the RDF Core testcases
on this point, canonicalizing "<br/>" as "<br></br>".   My proposal in
was accepted and we chose option 1 which is as follows:

input rdfms-literal-is-xml-structure/test006.rdf

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  <rdf:Description rdf:about="http://example.org/foo">
    <eg:bar rdf:parseType="Literal"><br/></eg:bar>

output rdfms-literal-is-xml-structure/test006.nt

<http://example.org/foo> <http://example.org/bar> "<br></br>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .

Received on Friday, 15 August 2003 05:42:59 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:15:21 UTC