We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The function fn:random-number-generator is not compliant to the xquery 3.1 specification.
fn:random-number-generator
Specifically:
xs:anyAtomic
xs:number
java.long
exist/exist-core/src/main/java/org/exist/xquery/functions/fn/FnRandomNumberGenerator.java
Line 43 in cdefdee
next
Line 84 in cdefdee
The implementation to be spec compliant.
You can find the tests in #3072
The text was updated successfully, but these errors were encountered:
line-o
Successfully merging a pull request may close this issue.
What is the problem
The function
fn:random-number-generator
is not compliant to the xquery 3.1 specification.Specifically:
xs:anyAtomic
but onlyxs:number
is supported because it is internally cast tojava.long
exist/exist-core/src/main/java/org/exist/xquery/functions/fn/FnRandomNumberGenerator.java
Line 43 in cdefdee
next
key.exist/exist-core/src/main/java/org/exist/xquery/functions/fn/FnRandomNumberGenerator.java
Line 84 in cdefdee
What did you expect
The implementation to be spec compliant.
Describe how to reproduce or add a test
You can find the tests in #3072
Context information
The text was updated successfully, but these errors were encountered: