Skip to content
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

CLDR-17204 kbd: v44: dtd fix for locales #3369

Merged

Conversation

srl295
Copy link
Member

@srl295 srl295 commented Oct 27, 2023

  • the <locale id=…> attribute was set as @VALUE which caused it to be wrongly flagged as a duplicate.

CLDR-17204

  • This PR completes the ticket.

ALLOW_MANY_COMMITS=true

@srl295 srl295 requested review from a team October 27, 2023 21:28
@srl295 srl295 self-assigned this Oct 27, 2023
miloush
miloush previously approved these changes Oct 27, 2023
@srl295
Copy link
Member Author

srl295 commented Oct 30, 2023

needs a code fix

  • Error: (TestDtdData.java:382) Error: : isDistinguished keyboard3: elementName.equals("locale") && attribute.equals("id") (old vs. DTD): expected false, got true

- the <locale id> attribute was set as @value which caused it to be wrongly flagged as a duplicate.
@jira-pull-request-webhook
Copy link

Notice: the branch changed across the force-push!

  • tools/cldr-code/src/test/java/org/unicode/cldr/unittest/TestDtdData.java is now changed in the branch

View Diff Across Force-Push

~ Your Friendly Jira-GitHub PR Checker Bot

@srl295 srl295 requested review from macchiati and a team November 3, 2023 15:26
@@ -766,6 +766,7 @@ public boolean isDistinguishingOld(DtdType dtdType, String elementName, String a
|| elementName.equals("keyList") && attribute.equals("id")
|| elementName.equals("flick") && attribute.equals("id")
|| elementName.equals("import") && attribute.equals("path")
|| elementName.equals("locale") && attribute.equals("id")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@macchiati CLDR-16616 what value (pardon the pun) does this test add to CLDR?

@srl295 srl295 changed the title CLDR-17204 kbd: dtd fix for locales CLDR-17204 kbd: v44 maint: dtd fix for locales Nov 3, 2023
@srl295 srl295 changed the title CLDR-17204 kbd: v44 maint: dtd fix for locales CLDR-17204 kbd: v44: dtd fix for locales Nov 3, 2023
@srl295 srl295 merged commit b07c9d8 into unicode-org:maint/maint-44 Nov 3, 2023
8 checks passed
@srl295 srl295 deleted the kbd/cldr-17204/locales-dtd branch November 3, 2023 22:26
srl295 added a commit to srl295/cldr that referenced this pull request Nov 3, 2023
- cherry-pick from maint-44: CLDR-17204 kbd: dtd fix for locales (unicode-org#3369)

- the <locale id> attribute was set as @value which caused it to be wrongly flagged as a duplicate.

(cherry picked from commit b07c9d8)
srl295 added a commit to srl295/cldr that referenced this pull request Nov 3, 2023
- cherry-pick from maint-44: CLDR-17204 kbd: dtd fix for locales (unicode-org#3369)

- the <locale id> attribute was set as @value which caused it to be wrongly flagged as a duplicate.

(cherry picked from commit b07c9d8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants