qt4cg / qtspecs

QT4 specifications
https://qt4cg.org/
Other
28 stars 15 forks source link

XPath: type declarations in quantified expressions #1316

Closed michaelhkay closed 1 week ago

michaelhkay commented 2 months ago

We have added type declarations to XPath "for" and "let" expressions, but not to "some" and "every", where they remain XQuery-only. This seems a needless inconsistency.

michaelhkay commented 1 month ago

The PR also changes quantified expressions so that a type declaration induces coercion of the supplied value to the required type, for consistency with for and let expressions.