feat(core): check on load for valid kmx_plus unicode 🙀 #13486
feat(core): check on load for valid kmx_plus unicode 🙀 #13486
Conversation
- error out if failure Fixes: #9446
User Test ResultsTest specification and instructions User tests are not required Test Artifacts
|
…46-detect-bad-unicode-kmxplus
- turn off some asserts- makes untestable (there are asserts at 'higher levels' such as loading the entire kmx+) - add a test with a synthesized COMP_KMXPLUS_STRS - a valid and an invalid one Fixes: #9446
- not counting markers, which have a special path Fixes: #9446
|
Not FFFD?
|
- add test case - turn this into not be an assert, so we can test it Fixes: #9446
|
well, this actually opened a bit of a can of worms around is-valid but I'm working on it! |
- improve how validation works - a missing section does not mean an invalid section. distingush these. - propagate errors for invalid sections - update documentation of required sections Fixes: #9446
- reinstate 'most or all sections' note - reflow lines Fixes: #9446
|
@mcdurdin I ended up not being able to test without some updates this given the state of validation propagation! It would actually be more challenging to split this PR, so for review just review the additional commits since you last looked at it. |
mcdurdin
left a comment
There was a problem hiding this comment.
I have made some suggestions but they are really nits and polish, so this LGTM. Good work, nice to see robust error handling
- restructured validation calls to be more consistent Fixes: #9446
mcdurdin
left a comment
There was a problem hiding this comment.
I have made some suggestions but they are really nits and polish
I guess one of the suggestions was a bit more significant than a nit, glad to see it has landed!
- update per review notes Fixes: #9446
|
Changes in this pull request will be available for download in Keyman version 19.0.16-alpha |
Fixes: #9446
@keymanapp-test-bot skip