Skip to content

Commit

Permalink
CLDR-17505 Further tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
macchiati authored Sep 13, 2024
1 parent 5e0df5c commit 4508db9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/ldml/tr35.md
Original file line number Diff line number Diff line change
Expand Up @@ -1932,7 +1932,7 @@ The following describes in more detail how to determine the exact inheritance of

#### <a name="Definitions" href="#Definitions">Definitions</a>

_Ordered_ elements are those whose sequence in the XML file is important; that is, reversing the order of those elements makes a difference in the interpretation of the data. These are marked with the `@ORDRED` annotation in the dtd file. For example, consider the following in `ldmlSupplemental.dtd`:
_Ordered_ elements are those whose sequence in the XML file is important; that is, changing the order of those elements can make a difference in the interpretation of the data. These are marked with the `@ORDRED` annotation in the dtd file. For example, consider the following in `ldmlSupplemental.dtd`:
```
<!ELEMENT languageMatch EMPTY >
<!--@ORDERED-->
Expand All @@ -1944,9 +1944,9 @@ In the file `languageInfo.xml`, we find the following.
<!-- default script mismatch distance -->
<languageMatch desired="*_*" supported="*_*" distance="50"/> <!-- *; * ⇒ *; * -->
```
The ordering among the languageMatch items is important, because the `*_*` must only be matched _after_ all the explicit scripts have been.
The ordering among the `languageMatch` items is important, because the `*_*` must only be matched _after_ all the explicit scripts have been.

The ordered elements also _block_ inheritance in files governed by ldml.dtd. That is, because the elements are ordered, there is no way to tell where an inherited element from a parent locale would be in that sequence.
The ordered elements also _block_ inheritance in files governed by `ldml.dtd`. That is, because the elements are ordered, there is no way to tell where an inherited element from a parent locale would be in that sequence.

Attributes that serve to distinguish multiple elements at the same level are called _distinguishing_ attributes. For example, the `type` attribute distinguishes different elements in lists of translations, such as:

Expand Down

0 comments on commit 4508db9

Please sign in to comment.