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

Type Parameters are not checked #2

Open
adamretter opened this issue Jul 16, 2018 · 1 comment
Open

Type Parameters are not checked #2

adamretter opened this issue Jul 16, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@adamretter
Copy link
Contributor

adamretter commented Jul 16, 2018

eXist-db does not appear to correctly support and enforce type parameters, e.g. map(xs:integer, xs:string) and element(my-name).

As such the eXist XQTS Test Runner takes a relaxed approach to checking them, see: https://github.com/eXist-db/exist-xqts-runner/blob/master/src/main/scala/org/exist/xqts/runner/TestCaseRunnerActor.scala#L1042.
This means that at present we may report passes where we should report failures. We have two options:

  1. Fix eXist-db and implement the strict checks in the XQTS Test Runner, with the aim of passing the tests.
  2. Don't for eXist-db and implement the strict checks in the XQTS Test Runner, which will show further XQTS test failures.
@adamretter adamretter added the bug Something isn't working label Jul 16, 2018
@line-o
Copy link
Member

line-o commented Nov 19, 2020

Strongly in favour of option 2.
A first PR to check for function types is already open eXist-db/exist#3389

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants