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
Given:
declare %test:case function compare-2-json-array() { let $actual := array-node { 1, 2, 3 } let $expected := array-node { 1, 3, 5 } return assert:equal($actual, $expected) };
I get an XDMP-CHILDNODEKIND "Invalid child node kind" error in src/xray.xqy when it is trying to add the array-node to the XML output.
XDMP-CHILDNODEKIND
src/xray.xqy
array-node
A fix for this -- and making the JSON output work better when the expected/actual values are XML, would be something like:
element actual { xdmp:quote($actual) }, element expected { xdmp:quote($expected) },
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Given:
I get an
XDMP-CHILDNODEKIND
"Invalid child node kind" error insrc/xray.xqy
when it is trying to add thearray-node
to the XML output.A fix for this -- and making the JSON output work better when the expected/actual values are XML, would be something like:
The text was updated successfully, but these errors were encountered: