exist icon indicating copy to clipboard operation
exist copied to clipboard

Bugfix/cardinality enforcement

Open chris-evolvedbinary opened this issue 3 years ago • 2 comments

Description:

Correct the cardinality and types of the arguments and return values of the following functions:

  • collection
  • contains-token
  • document-uri
  • format-integer
  • json-to-xml
  • xml-to-json

Reference:

Closes https://github.com/eXist-db/exist/issues/1917

Type of tests:

Changed exist-core/src/test/xquery/dates/convert-dates.xqm to use datetime values instead of datetime-stamp values. Made no other changes, but ensured existing tests still pass.


This open source contribution to the eXist-db project was commissioned by the Office of the Historian, U.S. Department of State, https://history.state.gov/.

chris-evolvedbinary avatar Jul 04 '22 19:07 chris-evolvedbinary

If this PR is merged it closes https://github.com/eXist-db/exist/pull/3313

line-o avatar Jul 06 '22 16:07 line-o