- From: Chris Croome <chris@webarchitects.co.uk>
- Date: Sat, 23 Feb 2002 17:45:44 +0000
- To: www-international@w3.org
Hi
I posted the following to the Dublin Core Internationalisation list [3] and
it was suggested that this list would be a better place to raise the
issue.
Chris
----- Forwarded message from Chris Croome <chris@WEBARCHITECTS.CO.UK> -----
From: Chris Croome <chris@WEBARCHITECTS.CO.UK>
Reply-To: Chris Croome <chris@WEBARCHITECTS.CO.UK>
Date: Sat, 23 Feb 2002 14:25:12 +0000
To: DC-INTERNATIONAL@JISCMAIL.AC.UK
Subject: RDF DC for right-to-left languages -- XHTML BDO and dir attribute?
User-Agent: Mutt/1.3.25i
Hi
If I wanted to produce DC RDF files that has content in a right-to-left
language, say Urdu, would something like the following be the correct way to do
it?
<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<rdf:Description>
<dc:creator>Karl Mustermann</dc:creator>
<dc:title>Algebra</dc:title>
<dc:subject>
<rdf:Description dc:language="ur">
<rdf:value xml:lang="ur" xhtml:dir="rtl">[Urdu here]</rdf:value>
</rdf:Description>
</dc:subject>
</rdf:Description>
</rdf:RDF>
Or perhaps:
<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<rdf:Description>
<dc:creator>Karl Mustermann</dc:creator>
<dc:title>Algebra</dc:title>
<dc:subject>
<rdf:Description dc:language="ur">
<rdf:value xml:lang="ur">
<xhtml:bdo dir="rtl">[Urdu here]</xhtml:bdo>
</rdf:value>
</rdf:Description>
</dc:subject>
</rdf:Description>
</rdf:RDF>
The above examples are based on the example in the DCQ proposal [1] and the W3C
/ Unicode Consortium's Note on Unicode [2].
Also should this issue be mentioned somewhere on the DC web site?
Chris
[1] http://dublincore.org/documents/2001/11/30/dcq-rdf-xml/#sec4
[2] http://www.w3.org/TR/2002/NOTE-unicode-xml-20020218/#Bidi
----- End forwarded message -----
[3] http://dublincore.org/groups/languages/#forums
--
Chris Croome <chris@webarchitects.co.uk>
web design http://www.webarchitects.co.uk/
web content management http://mkdoc.com/
everything else http://chris.croome.net/
Received on Saturday, 23 February 2002 12:44:58 UTC