Re: XMLLiterals and language

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 UTC