Summary
Go to definition works to navigate to a complex type defined in the same XSD.
However, this fails when the complex type is defined in an imported file, giving error message 'No definition found for ...'
Steps to reproduce
- Unzip repro files to local folder, that is a trusted workspace
- Open Parent.xsd in VS Code
- Apply go to definition on line 11, 'SomeGenericType'.
Actual result:

Expected result
The type definition is selected in the Child.xsd file.
Repro files
repro.zip containing Parent.xsd and Child.xsd
VS Code version info
Version: 1.63.2 (system setup)
Commit: 899d46d82c4c95423fb7e10e68eba52050e30ba3
Date: 2021-12-15T09:40:02.816Z (2 wks ago)
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19044
Extension version info
XML: v0.18.2
Red Hat Commons: v0.0.6