[Home] [By Thread] [By Date] [Recent Entries]

  • To: "XML-DEV" <xml-dev@l...>
  • Subject: Unicode bi-directional algorithm in XSL
  • From: "Donald Smith" <dsmith@i...>
  • Date: Fri, 12 Mar 2004 08:38:36 -0600
  • Importance: Normal

Let's say I have some XML with Arabic content and the English abbreviation
"C.B." inside the Arabic:

<example>imagine some Arabic content here C.B. imagine some more Arabic
content here</example>

Obviously, the Unicode bi-directional algorithm will handle the direction of
the Arabic text flow as right-to-left, but when rendered by an XSL-FO
application, the abbreviation comes out ".C.B" (yes, I know bidi-override
will fix this).

My question is: what's actually happening with the Unicode bi-directional
algorithm? Is (1) the period between the "C" and the "B" staying put, and
the period after the "B" moving before the "C"; or (2) are both periods
moving, so that the period between the "C" and the "B" moves before "C", and
the period after the "B" moving between them?

Thanks,

Don


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member