-
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(developer): hint/warn on range check 🙀
- just the test files #10316
- Loading branch information
Showing
3 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
developer/src/kmc-ldml/test/fixtures/sections/tran/tran-hint-range.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,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE keyboard3 SYSTEM "../../../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd"> | ||
<keyboard3 locale="mt" conformsTo="techpreview"> | ||
<info name="tran-hint-range" /> | ||
|
||
<keys /> | ||
|
||
<transforms type="simple"> | ||
<transformGroup> | ||
<!-- all NFD but crosses non-NFD--> | ||
<transform from="[\u{0020}-\u{01ff}]" to="x" /> | ||
</transformGroup> | ||
</transforms> | ||
</keyboard3> |
15 changes: 15 additions & 0 deletions
15
developer/src/kmc-ldml/test/fixtures/sections/tran/tran-hint-range2.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,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<!DOCTYPE keyboard3 SYSTEM "../../../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd"> | ||
<keyboard3 locale="mt" conformsTo="techpreview"> | ||
<info name="tran-hint-range"/> | ||
|
||
<keys /> | ||
|
||
<transforms type="simple"> | ||
<transformGroup> | ||
<!-- all NFD but crosses non-NFD --> | ||
<transform from="[a-ɐ]" to="x"/> | ||
</transformGroup> | ||
</transforms> | ||
</keyboard3> |
14 changes: 14 additions & 0 deletions
14
developer/src/kmc-ldml/test/fixtures/sections/tran/tran-warn-range.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,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE keyboard3 SYSTEM "../../../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd"> | ||
<keyboard3 locale="mt" conformsTo="techpreview"> | ||
<info name="tran-hint-range" /> | ||
|
||
<keys /> | ||
|
||
<transforms type="simple"> | ||
<transformGroup> | ||
<!-- warning, includes NFD start/end--> | ||
<transform from="[á-é]" to="x" /> | ||
</transformGroup> | ||
</transforms> | ||
</keyboard3> |