-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLDR-17770 Clarify what the alias element path value is relative to (#…
- Loading branch information
1 parent
12d4847
commit e95a7b5
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
|Version|46 (draft)| | ||
|-------|----------| | ||
|Editors|Mark Davis (<a href="mailto:[email protected]">[email protected]</a>) and <a href="tr35.md#Acknowledgments">other CLDR committee members</a>| | ||
|Date|2024-07-08| | ||
|Date|2024-09-24| | ||
|This Version|<a href="https://www.unicode.org/reports/tr35/tr35-73/tr35.html">https://www.unicode.org/reports/tr35/tr35-73/tr35.html</a>| | ||
|Previous Version|<a href="https://www.unicode.org/reports/tr35/tr35-72/tr35.html">https://www.unicode.org/reports/tr35/tr35-72/tr35.html</a>| | ||
|Latest Version|<a href="https://www.unicode.org/reports/tr35/">https://www.unicode.org/reports/tr35/</a>| | ||
|
@@ -2759,7 +2759,7 @@ Consider the following example in root: | |
|
||
If the locale "de_DE" is being accessed for a month name for format/abbreviated, then a resource bundle at "de_DE" will be searched for a resource element at that path. If not found there, then the resource bundle at "de" will be searched, and so on. When the alias is found in root, then the search is restarted, but searching for format/**wide** element instead of format/abbreviated. | ||
|
||
If the `path` attribute is present, then its value is an [[XPath](#XPath)] that points to a different node in the tree. For example: | ||
If the `path` attribute is present, then its value is an [[XPath](#XPath)] that points to a different node in the tree. **That XPath is not relative to the location of the `alias` element itself, but rather to the location of the element that _contains_ the alias element, as seen in the example above.** For example: | ||
|
||
```xml | ||
<alias source="locale" path="../monthWidth[@type='wide']"/> | ||
|
@@ -4158,6 +4158,7 @@ Other contributors to CLDR are listed on the [CLDR Project Page](https://www.uni | |
* In [EBNF](#ebnf), added more differences from W3C EBNF, | ||
and documented use of wfc: and vc: for wellformedness and validity constraints. | ||
Marked clauses with that format where appropriate, and grouped constraints after the relevant EBNF. | ||
* In [Element alias](#Alias_Elements), clarified the location to which the path in the `alias` element is relative. | ||
|
||
* Part 3: [Numbers](tr35-numbers.md#Contents) | ||
* In [Supplemental Currency Data](tr35-numbers.md#Supplemental_Currency_Data), for the `currency` element, | ||
|