Clarify and unify hex notation as per UTS #18 in keyboard LDML

Description

1. There are plenty of examples (<display>, <transform>, <reorder>, <backspace>) in the keyboard spec that use \u037A syntax instead of \u{037A}. These should be fixed to the \u{..} syntax.

2. In the spec, the escaping must be explicitly allowed for an attribute, as is currently the case for map/@to, map/@longPress, transform/@from, transform/@to. However, we have plenty <reorder> and <backspace> examples with escapings in @from, @before and @to without documentation. The docs should be updated to allow escaping in these attributes.

3. "the \u{...} notation" is not defined anywhere in the keyboard spec. It would be benefitial to have a paragraph introducing the notation with reference to UTS#18, and possibly listing the attributes that allow it.

 

Discussed on 2021-2-9/10

xpath

None

locale

None

Activity

Show:
Jan Kučera
February 23, 2021, 8:51 PM

The transform/@from, @before, and @after actually use UnicodeSet syntax and therefore \u syntax is correct for those.

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Priority

major

Assignee

Jan Kučera

Reporter

Jan Kučera

Reviewer

Mark Davis

Fix versions

Components

Labels