Skip to content

Commit

Permalink
CLDR-17092 kbd: drop fallback="omit"
Browse files Browse the repository at this point in the history
  • Loading branch information
srl295 committed Oct 4, 2023
1 parent a315290 commit 1cb143e
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 36 deletions.
26 changes: 2 additions & 24 deletions docs/ldml/tr35-keyboards.md
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ An element used to keep track of layout-specific settings by implementations. Th
**Syntax**

```xml
<settings fallback="omit" />
<settings normalization="disabled" />
```

> <small>
Expand All @@ -602,29 +602,7 @@ An element used to keep track of layout-specific settings by implementations. Th
>
> </small>
_Attribute:_ `fallback="omit"`

> The presence of this attribute means that when a modifier key combination goes unmatched, no output is produced. The default behavior (when this attribute is not present) is to fall back to the base map when the modifier key combination goes unmatched.
If this attribute is present, it must have a value of `omit`.

**Example**

```xml
<keyboard3 locale="bg">
<settings fallback="omit" />
</keyboard3>
```

Indicates that:

1. When a modifier combination goes unmatched, do not output anything when a key is pressed.
2. If a transform is terminated, output the contents of the buffer.
3. During a transform, hide the contents of the buffer as the user is typing.

_Attribute:_ `normalization`
_Attribute:_ `normalization="disabled"`

> Normalization will not typically be the responsibility of the keyboard author, rather this will be managed by the implementation.
> The implementation will apply normalization as appropriate when matching transform rules and `<display>` value matching.
Expand Down
1 change: 0 additions & 1 deletion keyboards/3.0/fr-t-k0-azerty.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
<name value="French Test" />
<name value="French Test AZERTY" />
</names>
<settings fallback="omit" />

<displays>
<!-- Note: displays is only used for keycap presentation -->
Expand Down
1 change: 0 additions & 1 deletion keyboards/3.0/pcm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<name value="Nigerian Pidgin" />
<name value="Naijíriá Píjin" />
</names>
<settings fallback="omit" />
<keys>
<import base="cldr" path="techpreview/keys-Zyyy-punctuation.xml" />
<import base="cldr" path="techpreview/keys-Zyyy-currency.xml" />
Expand Down
2 changes: 0 additions & 2 deletions keyboards/dtd/ldmlKeyboard3.dtd
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ Please view the subcommittee page for the most recent information.
<!ELEMENT settings EMPTY >
<!--@ORDERED-->
<!--@TECHPREVIEW-->
<!ATTLIST settings fallback (omit) #IMPLIED >
<!--@VALUE-->
<!ATTLIST settings normalization (disabled) #IMPLIED >
<!--@VALUE-->

Expand Down
8 changes: 0 additions & 8 deletions keyboards/dtd/ldmlKeyboard3.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,6 @@ Note: DTD @-annotations are not currently converted to .xsd. For full CLDR file

<xs:element name="settings">
<xs:complexType>
<xs:attribute name="fallback">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="omit"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="normalization">
<xs:simpleType>
<xs:restriction base="xs:token">
Expand All @@ -151,7 +144,6 @@ Note: DTD @-annotations are not currently converted to .xsd. For full CLDR file




<xs:element name="displays">
<xs:complexType>
<xs:sequence>
Expand Down

0 comments on commit 1cb143e

Please sign in to comment.