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

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
  http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2003Aug/0061.html
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#"
          xmlns:eg="http://example.org/">
  <rdf:Description rdf:about="http://example.org/foo">
    <eg:bar rdf:parseType="Literal"><br/></eg:bar>
  </rdf:Description>
</rdf:RDF>

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> .
]]

Dave

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