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

Is there a test case for this?

From: Graham Klyne <gk@ninebynine.org>
Date: Wed, 10 Sep 2003 08:23:23 +0100
Message-Id: <5.1.0.14.2.20030910081832.02c918b0@127.0.0.1>
To: w3c-rdfcore-wg@w3.org

This arises from the I18N debate, but is a distinct issue which I think is 
important to be clear about.

(Not knowing my way around the test cases...)

What graph does this denote?

   <rdf:Description>
     <eg:prop>foo &lt; bar</eg:prop>
   </rdf:Description>

I think it should be:

   _:a eg:prop "foo < bar" .

but others (including the W3C RDF validator service) seem to think differently.

My rationale is:

- RDF/XML syntax is based on infoset
- creation of infoset from textual XML input replaces entities, so '&lt;' 
becomes '<'
- RDF/XML syntax specification (as I recall) does not specify that '<' in 
literals is mapped back to '&lt;'

Am I wrong?

#g


------------
Graham Klyne
GK@NineByNine.org
Received on Wednesday, 10 September 2003 04:07:22 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 10 September 2003 04:07:42 EDT