W3C home > Mailing lists > Public > www-rdf-interest@w3.org > January 2005

Re: XMLLiterals and language

From: Martin Duerst <duerst@w3.org>
Date: Wed, 19 Jan 2005 15:05:57 +0900
Message-Id: <6.0.0.20.2.20050119145846.026e12d8@localhost>
To: Reto Bachmann-Gmuer <reto@gmuer.ch>, Jeremy Carroll <jjc@hplb.hpl.hp.com>
Cc: www-rdf-interest@w3.org, www-international@w3.org

At 20:35 05/01/18, Reto Bachmann-Gmuer wrote:

 >With this convention it becomes effectively impossible to have a language 
independent default version. With the following illegal rdf/xml I'd like to 
express that the default abnormal-termination message if "Requiem in pax" 
which are Latin words, but the English version is a blinking "Rest in peace".
 >
 ><ex:MessageBundle>
 >    <ex:abnormalTermination rdf:parseType="Literal"><span
 >         xml:lang="la">Requiem in pax</span></ex:abnormalTermination>
 >    <ex:abnormalTermination xml:lang="en" 
rdf:parseType="Literal"><blink>Rest in peace</blink></ex:abnormalTermination>
 > </ex:MessageBundle>

Well, to follow Jeremy's proposal, you could still try the following:

<ex:Book>
    <dc:title rdf:parseType="Literal"><span xml:lang=""><span
xml:lang="la">Carpe diem</span></span></dc:title>
</ex:Book>

But I really wouldn't recommend that.

Regards,    Martin. 
Received on Wednesday, 19 January 2005 07:12:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:52:12 GMT