-
Notifications
You must be signed in to change notification settings - Fork 152
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
kiwi/schema: Fix allowed value type for ISO publisher and application ID #2618
Conversation
@schaefi, @davidcassany: I'm pretty sure this necessitates a schema version bump, but I'm not sure how we handle implementing those. |
note this still isn't strictly correct. Per the spec, several other characters are allowed - |
Well, this isn't merged yet, so I can certainly add those in too. 😄 |
Well so far we did not bump the schema version for this cases. You changed the strictness of a pattern applied to an attribute. Strictly speaking the schema did not change on any attribute or element or semantic structure. From that perspective no XSLT conversion is needed from The version of kiwi itself will be bumped on a new tag that includes your change. Thus the increase of the pattern strictness can still be detected by a version compare of kiwi itself. From my perspective this change can go in as soon as @AdamWill is fine with the final pattern |
fa20895
to
9674fc9
Compare
The only character not added was the |
And now all the tests fail anyway because the regex is somehow invalid 😩 |
According to the spec, this should be constrained to 128 characters but also allow quite a few other special characters (as well as spaces). We didn't allow spaces in application ID, but allowed too much for Publisher. Now we set up both correctly.
9674fc9
to
1c0d1dd
Compare
Now everything should be good now! 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks much 👍
According to the spec, this should be constrained to 128 characters but also allow whitespaces. We didn't allow spaces in application ID, but allowed too much for Publisher.
Now we set up both correctly.
Fixes #2617.