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

IdnaTestV2: V4..V6 -> V5..V7, check new V4, escape empty #822

Merged
merged 4 commits into from
May 15, 2024

Conversation

markusicu
Copy link
Member

@markusicu markusicu commented May 14, 2024

Best reviewed one commit at a time:

https://www.unicode.org/reports/tr46/#Validity_Criteria
V4 was inserted in Unicode 15.1.
Move V4..V6 to V5..V7 so that the test data error numbers match the spec again.

Then add code and an explicit test case to check the new V4 criterion.

Also, fix
[164-A50] Action Item for Markus Scherer: Revise the syntax of IdnaTestV2.txt, adding the ability to represent an explicitly empty input or output string; and generate a new version of the data accordingly, for Unicode version 14.0.

Also, add a test case for
[172-A102] Action Item for Markus Scherer, Mark Davis, PAG: Investigate the report in L2/22-124 item IDNA1. If necessary, propose a clarification of UTS #46, and/or update the code that generates the IdnaTestV2.txt file.

@markusicu markusicu marked this pull request as draft May 14, 2024 22:47
@markusicu markusicu changed the title IdnaTestV2: V4..V6 -> V5..V7 IdnaTestV2: V4..V6 -> V5..V7, then check new V4 May 15, 2024
@markusicu markusicu changed the title IdnaTestV2: V4..V6 -> V5..V7, then check new V4 IdnaTestV2: V4..V6 -> V5..V7, check new V4, escape empty May 15, 2024
@markusicu markusicu marked this pull request as ready for review May 15, 2024 05:11
Copy link
Contributor

@Ken-Whistler Ken-Whistler left a comment

Choose a reason for hiding this comment

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

Changes to header text look o.k. I'm not competent to review the Java code changes or the output.

Copy link
Contributor

@echeran echeran left a comment

Choose a reason for hiding this comment

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

LGTM

@markusicu markusicu merged commit e9f055f into unicode-org:main May 15, 2024
27 checks passed
@markusicu markusicu deleted the uts46-16-validity branch May 15, 2024 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants