RE: I18N Issue alternative: collapsing plain and xml literals

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 UTC