W3C home > Mailing lists > Public > public-iri@w3.org > February 2004

RE: IRIs and bidi: Addition regarding higher-level protocols

From: Jony Rosenne <rosennej@qsm.co.il>
Date: Thu, 12 Feb 2004 06:50:09 +0200
To: <public-iri@w3.org>
Cc: <bidi@unicode.org>
Message-ID: <000601c3f123$b2dca5a0$0401c80a@QSM4>

I see why it would be desirable to demand an overall left-to-right direction
for mixed (LTR and RTL) IRIs, but not for pure RTL IRIs in an RTL
environment.

This requirement should be changed.

Jony

> -----Original Message-----
> From: public-iri-request@w3.org 
> [mailto:public-iri-request@w3.org] On Behalf Of Michel Suignard
> Sent: Thursday, February 12, 2004 3:05 AM
> To: Martin Duerst
> Cc: public-iri@w3.org; Mark Davis
> Subject: RE: IRIs and bidi: Addition regarding higher-level protocols
> 
> 
> 
> Martin, here is my new proposed text (in quotes) for 
> replacement ofn the 2nd paragraph of clause 4.1:
> 
> <<
> When rendered, bidirectional IRIs MUST be rendered using the 
> Unicode Bidirectional Algorithm [UNIV4] [UNI9] with an 
> overall left-to-right
> (ltr) direction. To achieve this, the IRI is embedded 
> left-to-right in all the following cases: 1. If the current 
> embedding level before the IRI is odd (right-to-left) 2. If 
> the last character with a strong directionality before the 
> IRI is right-to-left 3. If the first character with a strong 
> directionality after the IRI is right-to-left. No additional 
> bidirectional rendering change by higher-level protocols is allowed. 
> 
> Note: Embedding the IRI left-to-right can be achieved by 
> embedding the text with LRE...PDF. If the maximum allowed 
> embedding level is exceded (above 62), the IRI overall 
> left-to-right direction may not be enforced.
> >>
> 
> The small diagramm (to be seen in monospaced chars) shows the 
> desired result
> 
> -String before-|  IRI  |-String after--
>               L    ON   L
> (For the string before and after, the IRI behaves as bidi 
> 'ON') (For the IRI itself, string before and after behave as bidi 'L')
> 
> BTW I am interpreting clause W2 of the Unicode Bidi algorithm 
> concerning the strong type enumeration as including as well 
> the embedding characters (at least the LRE) as it is 
> necessary in the logic expressed above. I have tried one of 
> the sample bidi algorithm (Asmus Freytag
> version) and it behaves that way.
> 
> Michel
> 
> 
> 
Received on Wednesday, 11 February 2004 23:51:30 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:12 UTC