Skip to content

Conversation

@GuntherRademacher
Copy link
Member

@GuntherRademacher GuntherRademacher commented Dec 3, 2025

The module location logic used by the QT4 test runner currently supports only a single location for a module. But some tests use multiple locations. The changes in this PR add support for this.

This fixes QT4 test cases modules-collide-var-001 and modules-collide-fn-001.

Per 5.12 Module Import, a module import may use the same prefix and URI as the module declaration of the module that it occurs in:

The namespace prefix specified in a module import must not be xml or xmlns [err:XQST0070], and must not be the same as any namespace prefix bound in the same module by another module import, a schema import, a namespace declaration, or a module declaration with a different target namespace [err:XQST0033].

The check for duplicate namespace prefixes has been refined accordingly.

This fixes QT4 test case XQST0093a.

@ChristianGruen ChristianGruen merged commit 7ab1fdf into BaseXdb:main Dec 7, 2025
1 check passed
@ChristianGruen ChristianGruen deleted the module-locations branch December 7, 2025 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants