RE: [chris@WEBARCHITECTS.CO.UK: RDF DC for right-to-left languages -- XHTML BDO and dir attribute?]

Bdo should be used in exceptional circumstances only, such a "part
numbers" or legacy visual text.

Plain dir="rtl" is the way to go.

BTW, the lang attribute has no effect on directionality.

Jony

> -----Original Message-----
> From: www-international-request@w3.org 
> [mailto:www-international-request@w3.org] On Behalf Of Chris Croome
> Sent: Saturday, February 23, 2002 7:46 PM
> To: www-international@w3.org
> Subject: [chris@WEBARCHITECTS.CO.UK: RDF DC for right-to-left 
> languages -- XHTML BDO and dir attribute?]
> 
> 
> 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 13:37:05 UTC