Skip to content
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

FontoXPath 4.0 roadmap #248

Open
2 of 6 tasks
DrRataplan opened this issue May 15, 2020 · 1 comment
Open
2 of 6 tasks

FontoXPath 4.0 roadmap #248

DrRataplan opened this issue May 15, 2020 · 1 comment

Comments

@DrRataplan
Copy link
Collaborator

DrRataplan commented May 15, 2020

FontoXPath had made some unfortunate API choices over the course of its development. This issue holds all the places where we are planning to break for a 4.0 release

  • Functions with prefixes. We have had an overload for registerCustomXPathFunction that accepts a URI, which is the preferred one. The old one has side-effects which are very dirty.
  • Undocumented, unexpected behaviour of evaluateXPath without an expectedReturnType. This is done, The code needs to be removed, but we now have a better ALL_RESULTS type that is a lot better to use. See [minor] Add a new ResultType.ALL_RESULTS that does no magic #411
  • Custom functions are registered in the global registry. These are side-effects and cause strange behaviour. We should externalize the state.
  • Async query evaluation seems very useful, but it is not used. Decide whether we want to drop it this is being dropped in No more async #304
  • Also remove the EvaluateUpdatingAsync / EvaluateUpdatingSync functions.
  • ... More. This list will grow
@wvbe
Copy link
Contributor

wvbe commented Jan 10, 2023

Linked to DEV-16792

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants