Skip to content

[doc] Document recursive xmldb:create-collection() #3869 - #6666

Open
AzazelSensei wants to merge 1 commit into
eXist-db:developfrom
AzazelSensei:feature/xmldb-create-collection-recursion
Open

[doc] Document recursive xmldb:create-collection() #3869#6666
AzazelSensei wants to merge 1 commit into
eXist-db:developfrom
AzazelSensei:feature/xmldb-create-collection-recursion

Conversation

@AzazelSensei

Copy link
Copy Markdown

Description:

xmldb:create-collection() already creates missing path segments. The function docs now say that, and there is an XQSuite for a nested path, intermediates, and creating the same path twice.

Reference:

#3869

Type of tests:

XQSuite in exist-core/src/test/xquery/xmldb/create-collection-tests.xql

Closes eXist-db#3869

$new-collection may be a path; missing intermediates are created.
Add XQSuite coverage for that.
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

📊 XQTS result comparison

Comparison of this run against develop.

Metric develop this run Change
🔴 Passed 28,845 (90.66%) 28,844 (90.66%) -1 (-0.00 pp)
🔴 Failures 1,569 1,570 +1
➖ Errors 134 134 0
➖ Skipped 1,267 1,267 0
🧪 Total tests 31,815 31,815 0

Relative to develop: 0 newly passing, 1 newly failing, 0 new errors, 0 newly skipped — counting only tests recorded in both runs whose outcome changed.

🔴 Newly failing tests (1)
  • Constr-inscope-1 (was passing)

Runtime: 399.6s (+72.92s vs develop).

@duncdrum duncdrum left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @AzazelSensei , nice find. Much appreciated.

@duncdrum
duncdrum requested review from a team and duncdrum and removed request for duncdrum September 8, 2026 14:05
@duncdrum duncdrum added this to v7.0.0 Sep 8, 2026
@duncdrum duncdrum moved this to In review in v7.0.0 Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

2 participants