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

RE: I18N Issue alternative: collapsing plain and xml literals

From: <Patrick.Stickler@nokia.com>
Date: Wed, 10 Sep 2003 12:40:08 +0300
Message-ID: <A03E60B17132A84F9B4BB5EEDE57957B026302F1@trebe006.europe.nokia.com>
To: <Patrick.Stickler@nokia.com>, <gk@ninebynine.org>, <danbri@w3.org>, <bwm@hplb.hpl.hp.com>
Cc: <w3c-rdfcore-wg@w3.org>, <Patrick.Stickler@nokia.com>



And importantly, for I18N:

 <rdf:Desription rdf:about="#something" xmlns:ex="http://example.com/"
   <ex:foo parseType="Literal" xml:lang="en"><b>foo</b></ex:foo>
 </rdf:Description>
 
 gives us
 
 <#something> <ex:foo> "<b>foo</b>"@en .

BUT

 <rdf:Desription rdf:about="#something" xmlns:ex="http://example.com/"
   <ex:foo parseType="Literal" xml:lang="en" rdf:datatype="http://example.com/x"><b>foo</b></ex:foo>
 </rdf:Description>
 
 gives us

 <#something> <ex:foo> "<b>foo</b>"^^<http://example.com/x> .

and NOT

 <#something> <ex:foo> "<b>foo</b>"@en^^<http://example.com/x> .

(typed literals, even typed XML literals, still have no lang tag)

Patrick
Received on Wednesday, 10 September 2003 05:42:13 EDT

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