-
Notifications
You must be signed in to change notification settings - Fork 2
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
Support for accented characters in data type "Name" #42
Comments
There has been some email correspondence regarding this topic lately, under the subject:
|
Not exactly on email, but on the GitHub issue here: mojaloop/project#1261 (I suspect that email was just a GitHub notification) |
Just so we have it here too: here is my current thinking on what the specification should read, copied over from the GitHub issue: _I think I'd like to suggest that there should be a reference somewhere in the API specification (preferably in a table of such versioning references) to the Unicode release level. Within that, we should use references to the Unicode General Categories that we allow or prohibit in a field of a specific type. So we might rewrite Miller's proposal to say: "Letters, both accented and unaccented, being chosen from all code points belonging to the Letter and Decimal_Number general categories as defined in the reference version of the Unicode specification (with link to reference.) In addition, the period (.), apostrophe ('), dash (-), comma (,) and space character are permitted. Interior spaces are allowed, but no leading or trailing spaces. For the avoidance of doubt, Names may include leading digits." We can then allow implementers to decide how best to meet these requirements._ My view is that, as Miller says elsewhere, it is much safer to use Unicode category names than to identify the content of those categories explicitly... |
Presumably the problem from a DA perspective is not the code solution, it's the tests we propose to apply to check whether a given solution meets the requirement or not... |
Here are the two issues for tracking this: |
All accented characters are now supported in implementation (example issue addressing this: mojaloop/project#2358) |
Request:
In Section 7.2.4.1 of the API specification, the definition of the regular expression to parse a variable of the Name type states: "all Unicode32 characters are allowed". In fact, accented and non-Roman characters are rejected by the example regular expression given in Listing 14.
Artifacts:
Decision(s):
Follow-up:
Dependencies:
Accountability:
Notes:
The text was updated successfully, but these errors were encountered: