New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/text/unicode/cldr: Decoder fails to load cldr-common-41.0.zip #53016
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Comments
mknyszek
added
the
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
label
May 20, 2022
dolmen
added a commit
to blueboardio/cldr
that referenced
this issue
May 20, 2022
Regenerate files with CLDR 40.0 data. No change in data produced since CLDR 38.1. Note: CLDR 41.0 is available but can't be load with golang.org/x/text/unicode/cldr. See golang/go#53016
CC @mpvl also. |
I attempted to fix this, and spent rather more time learning about CLDR than I intended. Documenting what I found so far:
|
Still happens with latest code ( |
I found a workaround for my use case: use a DirFilter:
|
dolmen
added a commit
to blueboardio/cldr
that referenced
this issue
Jan 13, 2023
Use a filter on CLDR data to avoid issue when parsing recent CLDR data which is not supported by the golang.org/x/text/unicode/cldr See golang/go#53016 (comment)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
golang.org/x/text v0.3.7
What did you do?
Using the latest CLDR release v41.0: http://unicode.org/Public/cldr/41/cldr-common-41.0.zip
Full code: https://github.com/blueboardio/cldr/blob/master/currency/currencies_gen.go#L73
What did you expect to see?
success.
(like with cldr-common-40.0.zip)
What did you see instead?
cldr-common-41.0.zip: supplemental-temp/coverageLevels2: missing identity element
The text was updated successfully, but these errors were encountered: