-
-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12606 from keymanapp/fix/developer/12455-no-uset-…
…on-to
- Loading branch information
Showing
5 changed files
with
72 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
developer/src/kmc-ldml/test/fixtures/sections/tran/fail-IllegalTransformUsetRHS-1.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<keyboard3 xmlns="https://schemas.unicode.org/cldr/45/keyboard3" locale="mt" conformsTo="45"> | ||
<info name="tran-minimal" /> | ||
|
||
<keys> | ||
<key id="w" output="w"/> | ||
</keys> | ||
|
||
<variables> | ||
<uset id="triisap" value="[\u{17CA}]" /> | ||
</variables> | ||
<transforms type="simple"> | ||
<transformGroup> | ||
<transform from="w" to="$[triisap]" /> <!-- uset should not be RHS --> | ||
</transformGroup> | ||
</transforms> | ||
</keyboard3> |
19 changes: 19 additions & 0 deletions
19
developer/src/kmc-ldml/test/fixtures/sections/tran/ok-2.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<keyboard3 xmlns="https://schemas.unicode.org/cldr/45/keyboard3" locale="mt" conformsTo="45"> | ||
<info name="tran-minimal" /> | ||
|
||
<keys> | ||
<key id="w" output="w"/> | ||
</keys> | ||
|
||
<variables> | ||
<uset id="triisap" value="[\u{17CA}]" /> <!-- unused. --> | ||
</variables> | ||
<transforms type="simple"> | ||
<transformGroup> | ||
<!-- this test is identical to fail-IllegalTransformUsetRHS-1.xml except for the backslash before the dollarsign. --> | ||
<transform from="w" to="\$[triisap]" /> <!-- Strange but OK- the dollarsign is escaped. --> | ||
</transformGroup> | ||
</transforms> | ||
</keyboard3> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters