Skip to content

Commit

Permalink
CLDR-15328 for alpha3: update ICU4J libs, readme, PR-1761 comments (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
pedberg-icu authored Feb 23, 2022
1 parent e407a3e commit 67b079d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
8 changes: 4 additions & 4 deletions readme.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
<body>
<h2>Unicode Common Locale Data Repository (CLDR)</h2>
<h3>ReadMe for Unicode <abbr title="Common Locale Data Repository">CLDR</abbr> version 41</h3>
<p>Last updated: 2022-Feb-08</p>
<p>Last updated: 2022-Feb-22</p>

<!--<p><b>Note:</b> CLDR 41 is in development and not recommended for use at this stage.</p>-->
<!--<p><b>Note:</b> This is the milestone 1 version of CLDR 41, intended for those wishing to do pre-release testing.
It is not recommended for production use.</p>-->
<p><b>Note:</b> This is a preliminary version of CLDR 41, intended for those wishing to do pre-release testing.
It is not recommended for production use.</p>
<!--<p><b>Note:</b> This is a pre-release candidate version of CLDR 41, intended for testing.
<!--<p><b>Note:</b> This is a preliminary version of CLDR 41, intended for those wishing to do pre-release testing.
It is not recommended for production use.</p>-->
<p><b>Note:</b> This is a pre-release candidate version of CLDR 41, intended for testing.
It is not recommended for production use.</p>
<!--<p>This is the final release version of CLDR 41.</p>-->

<p><strong>Important notes for CLDR 36 and later:</strong></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1199,11 +1199,14 @@ public boolean isDeprecated(String elementName, String attributeName, String att
return attribute.deprecatedValues.contains(attributeValue); // don't need special test for "*"
}

/**
* Returns whether an element (specified by its full name) is ordered. This method
* understands all elements in the DTDs used (including the ICU extensions), but will
* throw IllegalByDtdException for unknown elements. See CLDR-8614 for more background.
*/
public boolean isOrdered(String elementName) {
Element element = nameToElement.get(elementName);
if (element == null) {
// No longer need to always return false for icu: elements per CLDR-8614,
// nameToElement should now know about them (see getInstance above).
throw new IllegalByDtdException(elementName, null, null);
}
return element.isOrderedElement;
Expand Down
2 changes: 1 addition & 1 deletion tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<maven.compiler.target>1.8</maven.compiler.target>
<!-- Note: see https://github.com/unicode-org/icu/packages/411079/versions
for the icu4j.version tag to use -->
<icu4j.version>70.1-cldr-2022-02-08</icu4j.version>
<icu4j.version>71.0.1-SNAPSHOT-cldr-2022-02-22</icu4j.version>
<junit.jupiter.version>5.5.1</junit.jupiter.version>
<maven-surefire-plugin-version>2.22.1</maven-surefire-plugin-version>
<assertj-version>3.11.1</assertj-version>
Expand Down

0 comments on commit 67b079d

Please sign in to comment.