-
-
Notifications
You must be signed in to change notification settings - Fork 44
"age" filter for "list-unicodeset" utility does not work correctly for values >= 10 #54
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
Comments
(Related, do we have a clear link for how to give feedback on the utilities?) |
Is it comparing String values? It should compare VersionInfo values. |
Hello @srl295 and @markusicu . I appreciate Steve moving what was CLDR-14700 over to here as I didn't know when I posted CLDR-14700 that this was a place to report such things. However, for consistency and formatting, etc, I went ahead and re-posted the issue here as #55 (sorry if that made things confusing and/or sloppy). Since there most definitely is no clear link or instructions for reporting issues with the Unicode utilities, perhaps this issue could be adjusted to be about that? |
I copied your description of #55 to here. This one is already linked and has comments. |
Hi @srl295 . Ok, if you think that is best. Is there a way for me to edit the initial comment here if I want to make an adjustment? Or, can I be made the owner of this issue (which would allow me to make changes)? This was a large part of why I reposted. |
just add another comment… |
Uh oh!
There was an error while loading. Please reload this page.
@srutzky wrote:
(I originally posted this in JIRA as CLDR-14700 but was told that this was a more appropriate forum for reporting this type of problem)
This concerns the Unicode Utilities: UnicodeSet utility, located at:
https://util.unicode.org/UnicodeJsps/list-unicodeset.jsp
Filtering on the "age" property does not work correctly. The issue started a few years ago, after version 10.0 was released (and this utility was updated for that version). Versions starting at 10.0 do not behave correctly, and are somehow "linked" (for lack of a better term) to version 1.1. The examples below should illustrate the issue.
Correct, but only when "=1.1"
https://util.unicode.org/UnicodeJsps/list-unicodeset.jsp?a=%5B%3AAge%3D1.1%3A%5D&g=age&i=
A value of "=10.0" or higher returns 1.1 and version 10.0 through the specified version
But, not versions 2.0 through 9.0 (which should be returned). For example, specifying version 12.0 will return versions:
https://util.unicode.org/UnicodeJsps/list-unicodeset.jsp?a=%5B%3AAge%3D12.0%3A%5D&g=age&i=
A value of "=2.0" through "=9.0" returns 1.1 through the specified version and versions 10.0 and higher
(versions 10.0 and higher should not be returned). For example, specifying version 3.1 will return versions:
https://util.unicode.org/UnicodeJsps/list-unicodeset.jsp?a=%5B%3AAge%3D3.1%3A%5D&g=age&i=
A value of "=10.0" or higher and "!=1.1" returns version 10.0 through the specified version
But, not versions 2.0 through 9.0 (which should be returned). For example, specifying version 11.0 and !1.1 will return versions:
https://util.unicode.org/UnicodeJsps/list-unicodeset.jsp?a=%5B%3AAge%3D11.0%3A%5D+%26+%5B%3AAge%21%3D1.1%3A%5D&g=age&i=
A value of "=10.0" or higher and "!=2.0" through "!=9.0" returns nothing / empty-set
(one version higher than the specified "!=" version through specified "=" version should be returned). For example, specifying version 11.0 and !2.0 will return versions:
https://util.unicode.org/UnicodeJsps/list-unicodeset.jsp?a=%5B%3AAge%3D11.0%3A%5D+%26+%5B%3AAge%21%3D2.0%3A%5D&g=age&i=
https://util.unicode.org/UnicodeJsps/list-unicodeset.jsp?a=%5B%3AAge%3D9.0%3A%5D+%26+%5B%3AAge%21%3D2.0%3A%5D&g=age&i=
The text was updated successfully, but these errors were encountered: