- From: Graham Klyne <Graham.Klyne@Baltimore.com>
- Date: Thu, 28 Jun 2001 13:41:47 +0100
- To: Brian McBride <bwm@hplb.hpl.hp.com>
- Cc: rdf core <w3c-rdfcore-wg@w3.org>
At 02:45 PM 6/27/01 +0100, Brian McBride wrote:
>I'm not sure that data uri's are in fact isomorphic with literals as
>defined in m&s. Consider:
>
><rdf:Description>
> <foo:bar xml:lang="en">weekend</foo:bar>
> <foo:bar xml:lang="fr">weekend</foo:bar>
></rdf:Description>
>
>With literals this would be:
>
> _:a <foo:bar> "weekend"-"en" . (I've invented this syntax for lang attrs)
> _:a <foo:bar> "weekend"-"fr" .
>
>with data uri's it would be:
>
> _:a <foo:bar> <data:text/plain;weekend> .
> <data:text/plain;weekend> <xml:lang> <data:text/plain;en> .
> <data:text/plain;weekend> <xml:lang> <data:text/plain;fr> .
I don't understand where that comes from. I would expect something like:
_:a foo:bar data:text/plain;charset=utf-8,weekend
The text/plain can be omitted.
The ;charset parameter can be omitted if US-ASCII is used.
I can't see any way to encode language information in a data: URL [1].
#g
[1] ftp://ftp.isi.edu/in-notes/rfc2397.txt
------------------------------------------------------------
Graham Klyne Baltimore Technologies
Strategic Research Content Security Group
<Graham.Klyne@Baltimore.com> <http://www.mimesweeper.com>
<http://www.baltimore.com>
------------------------------------------------------------
Received on Thursday, 28 June 2001 09:29:21 UTC