-
-
Notifications
You must be signed in to change notification settings - Fork 179
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
[5.x.x] Fixes to fn:replace, fn:tokenize, and fn:analyze-string #4866
base: develop-5.x.x
Are you sure you want to change the base?
[5.x.x] Fixes to fn:replace, fn:tokenize, and fn:analyze-string #4866
Conversation
…ince it was changed to use Saxon
…o extend fn:matches Closes eXist-db#4863
…RX0003 when pattern matches an empty string Closes eXist-db#3803
SonarCloud Quality Gate failed. |
Changes like this were considered breaking in the past. |
I just want to understand why this is OK where other, similar changes were not. |
Has this been tested with the bundled applications? |
Good point! Technically this is not an API change though (which would warrant a major version bump), as the API has stayed the same. It is however a behaviour change as you describe. @line-o Would it be acceptable to you, if I removed the commit that introduces the FORX0003 error from this PR? The other commits should not be a problem for a hotfix version |
|
@line-o is this blocking the merge? |
I would welcome this change and make it a precedent for future changes. Allow patch releases that bring the xquery engine to spec compliance. Or we decide that this is a won't fix as it is changing existent behaviour that is fixed only in a major release. |
Since the back port for v6 of this was already merged to develop-6.x.x we can already consider this ti be a precedent. |
I am not comfortable with that. My approach here was to address the concerns of @line-o and remove the things that he felt were breaking changes. The other PR to 6.x.x got merged before I could address @line-o's request and so it was outside of my control. |
Seems I was to fast here, @adamretter if you want you could prepare a PR for a partial roll back for those parts you are not comfortable with or would this to complicated now? |
@adamretter This PR is marked as ready-for-review and two approvals. If you think it should not be merged as is please, it would be good to communicate that clearly. Request changes, convert it to a draft PR or add the |
@adamretter the last commit is 6 months old. Is it really this PR that you think is ready to be merged? |
@line-o Yes, it is this PR.
@line-o If you check, you will see that the failing tests are unrelated to this PR. |
@adamretter could you explain what your intent is with this: There are two changes that were considered breaking in the past:
You said you wanted to address those and I am now confused why this is ready to be merged with both of the above still in there. |
@adamretter could you please rebase so that the tests can be run. |
Backport of #4864