Skip to content

Commit

Permalink
CLDR-16943 kbd normalization=disabled
Browse files Browse the repository at this point in the history
- previously 'mixed'
  • Loading branch information
srl295 committed Oct 3, 2023
1 parent b2cfe87 commit 4b72d72
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
8 changes: 5 additions & 3 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" normalization="mixed" />
<settings fallback="omit" />
```

> <small>
Expand Down Expand Up @@ -632,15 +632,17 @@ _Attribute:_ `normalization`
>
> However, it is recognized that there may be some keyboards which, for compatibility or legacy reasons, need to manage their own normalization. The implementation in that case will do no normalization at all. The keyboard author must make use of transforms in the keyboard to any required normalization.
>
> **Note**: while this attribute is allowed by the specification, its use is discouraged, and keyboards with `normalization="mixed"` would not be accepted into the ClDR repository.
> In this case, the attribute `normalization="disabled"` can be used to specify that normalization is not done.
>
> **Note**: while this attribute is allowed by the specification, its use is discouraged, and keyboards with `normalization="disabled"` would not be accepted into the ClDR repository.

**Example**

```xml
<keyboard3 locale="bg">
<settings normalization="mixed" />
<settings normalization="disabled" />
</keyboard3>
```
Expand Down
3 changes: 1 addition & 2 deletions keyboards/dtd/ldmlKeyboard3.dtd
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ Please view the subcommittee page for the most recent information.
<!--@TECHPREVIEW-->
<!ATTLIST settings fallback (omit) #IMPLIED >
<!--@VALUE-->
<!ATTLIST settings normalization CDATA #IMPLIED >
<!--@MATCH:literal/mixed-->
<!ATTLIST settings normalization (disabled) #IMPLIED >
<!--@VALUE-->


Expand Down
8 changes: 7 additions & 1 deletion keyboards/dtd/ldmlKeyboard3.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,13 @@ Note: DTD @-annotations are not currently converted to .xsd. For full CLDR file
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="normalization"/>
<xs:attribute name="normalization">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="disabled"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>

Expand Down

0 comments on commit 4b72d72

Please sign in to comment.