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

Comment/testcase I18N-01?

From: Brian McBride <bwm@hplb.hpl.hp.com>
Date: 18 Jul 2003 13:11:51 +0100
To: rdf core <w3c-rdfcore-wg@w3.org>, Martin Duerst <duerst@w3.org>
Cc: i18n <w3c-i18n-ig@w3.org>
Message-Id: <1058530311.2371.21.camel@dhcp-91-136.hpl.hp.com>

One of the things that has come out of our discussions with I18N has, I
think, been that we better understand the relationship between sequences
of characters and markup.  Whilst I18N did not specifically point out
this flaw in the current syntax spec, I think it should be attributed to
their input.

Consider the test case:

<rdf:Description>
  <eg:prop rdf:parseType="Literal"><em>&lt;br /></em></eg:prop>
</rdf:Description>

If my reading of the syntax document [1] is correct, it states that this
is equivalent to (with a little license in the syntax):

_:a <eg:prop> "<em><br /></em>"^^rdf:XMLLiteral .

I believe that should read

_:a <eg:prop> "<em>&lt;br /></em>^^ rdf:XMLLiteral .

or some variation on that theme, to preserve the distinction between
markup and content.  We need to decide exactly what characters get
escaped.

DaveB: is my reading of syntax correct?

Martin/I18N - would you endorse this comment?

Brian

[1]
http://ilrt.org/discovery/2001/07/rdf-syntax-grammar/#parseTypeLiteralPropertyElt
Received on Friday, 18 July 2003 08:12:27 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 09:58:46 EDT