-
-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Labels
LDML48LDML48 ReleaseLDML48 ReleaseformattingIssue pertains to the formatting section of the specIssue pertains to the formatting section of the spec
Description
I am working on the bidi support, and I have some doubts about the following test cases in spec/bidi.json
:
{
"defaultTestProperties": {
"bidiIsolation": "default",
"locale": "en-US"
},
"tests": [
...
{
"description": "complex-message = o *(declaration o) complex-body o",
"src": "\u200E .local $x = {1} {{ {$x}}}",
"exp": " \u20681\u2069"
},
{
"description": "complex-message = o *(declaration o) complex-body o",
"src": ".local $x = {1} \u200F {{ {$x}}}",
"exp": " \u20681\u2069"
},
{
"description": "complex-message = o *(declaration o) complex-body o",
"src": ".local $x = {1} {{ {$x}}} \u2066",
"exp": " \u20681\u2069"
},
...
]
}
I suspect that a test without any kind of bidi control characters in the source would not have any bidi control characters in the expected output:
{
"description": "complex-message = o *(declaration o) complex-body o",
"src": ".local $x = {1} {{ {$x}}}",
"exp": " 1"
},
Question: is that the case?
Or will the "exp"
still be " \u20681\u2069"
because of "bidiIsolation": "default"?
What does "bidiIsolation": "default" actually means?
Does it mean "get it from the locale?"
What are the valid values for bidiIsolation
other then default
and none
?
Now, the whole thing looks under-specified to me.
Depending on the answer to the above I might have a real issue, or "all good, but need better documentation".
Thank you,
M.
Metadata
Metadata
Assignees
Labels
LDML48LDML48 ReleaseLDML48 ReleaseformattingIssue pertains to the formatting section of the specIssue pertains to the formatting section of the spec