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

Make higher-order-function support mandatory #205

Closed
michaelhkay opened this issue Oct 12, 2022 · 2 comments
Closed

Make higher-order-function support mandatory #205

michaelhkay opened this issue Oct 12, 2022 · 2 comments
Labels
Editorial Minor typos, wording clarifications, example fixes, etc. XPath An issue related to XPath XQuery An issue related to XQuery XSLT An issue related to XSLT

Comments

@michaelhkay
Copy link
Contributor

I think higher-order-functions are becoming a core part of XQuery and XSLT; we shouldn't encourage the mindset that they should be avoided because not all implementations will support them. I therefore propose dropping this as an optional feature; the relevant capabilities should become a core part of the language in 4.0, supported by all conformant implementations.

@ChristianGruen ChristianGruen added this to the QT 4.0 milestone Oct 14, 2022
@ChristianGruen ChristianGruen added XPath An issue related to XPath XQuery An issue related to XQuery XSLT An issue related to XSLT Editorial Minor typos, wording clarifications, example fixes, etc. labels Oct 14, 2022
@michaelhkay
Copy link
Contributor Author

This can be achieved by the following textual changes:

  • Delete XQuery section 5.2.6, Higher-Order Function Feature
  • Delete error code XQST0129
  • In F&O, abandon the tagging of functions as higher-order
  • In XSLT. delete section 28.7 Higher-Order Function Feature and the references to it
  • Delete error code XTSE3540
  • The system property xsl:supports-higher-order-functions is retained, and always returns yes
  • In F+O 16.1 delete the sentence "Some host languages may exclude higher-order functions from the set of functions that they support, or may include such functions in an optional conformance feature."
  • In the XQuery and XSLT change logs, explain the change.

@ndw
Copy link
Contributor

ndw commented Feb 1, 2023

Closed by PR #326

@ndw ndw closed this as completed Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Editorial Minor typos, wording clarifications, example fixes, etc. XPath An issue related to XPath XQuery An issue related to XQuery XSLT An issue related to XSLT
Projects
None yet
Development

No branches or pull requests

3 participants