Skip to content

Fix hover documentation for xsi:type-derived child elements across namespaces#1788

Open
hertznsk wants to merge 3 commits into
eclipse-lemminx:mainfrom
hertznsk:main
Open

Fix hover documentation for xsi:type-derived child elements across namespaces#1788
hertznsk wants to merge 3 commits into
eclipse-lemminx:mainfrom
hertznsk:main

Conversation

@hertznsk

@hertznsk hertznsk commented Jul 2, 2026

Copy link
Copy Markdown

Fixes #1787

Hover documentation now resolves for child elements inside "xsi:type"-derived complex types when the type is defined in a different namespace.

Changes:

  • Add null guard in XMLCatalogURIResolverExtension.hasDTDorXMLSchema
  • Wire ContentModelManager into CMXSDContentModelProvider
  • Resolve xsi:type-derived child elements across namespaces in hover

Co-authored-by: Sisyphus clio-agent@sisyphuslabs.ai

Genadij Blinov and others added 3 commits July 2, 2026 22:22
Prevents NPE when document provider is not available during XSD loading.

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Allows CMXSDDocument to look up schema models for other namespaces when resolving xsi:type values.

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Hover documentation now resolves for child elements inside xsi:type-derived complex types when the type is defined in a different namespace.

Fixes eclipse-lemminx#1787

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
@hertznsk

Copy link
Copy Markdown
Author

I waive any rights to this code. Please just accept it.

@angelozerr

Copy link
Copy Markdown
Contributor

@hertznsk please sign ECA

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.

Hover documentation not resolved for child elements of xsi:type-derived complex types across namespaces

2 participants