Hey, I'm not fully aware of this mechanism but I do remember typing the same characters on the keyboard in the different layouts produce angle brackets pointing to different directions (same goes for all the different brackets/parenthesis).

Regarding XML, usually XML tags are in English, the only thing that can be in Hebrew are the attributes' values, so that case is highly plausible.

Basically it should be that way also for Arabic and Persian so the translation in those languages can be a good indicator for this situation.
Yaron Shahrabani
<DevOps - Hebrew translator>


On Sun, Mar 10, 2024 at 5:51 PM Chusslove Illich <caslav.ilic@gmx.net> wrote:
I'm further realising that an additional problem might be that the
character '<' in a right-to-left text would actually have the meaning
of the character '>' in a left-to-right text. Is this so?

In that case, it is not clear to me what exactly is the correct
solution. E.g. what does XML standard say in this case? What do XML
parsers do in practice? Are there separate Unicode points for some
"directed" characters wrt. RTL/RTL?

--
Chusslove Illich (Часлав Илић)