Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading schema from another folder #429

Open
timochev opened this issue Nov 22, 2024 · 2 comments
Open

Error loading schema from another folder #429

timochev opened this issue Nov 22, 2024 · 2 comments

Comments

@timochev
Copy link

I try to use The XML Notepad 2.9.0.15. Thanks for this instrument!
In the "Schemas..." dialog I saved the settings for xsd-files which are in the folder C:\TEMP\XSD.
I am opening the xml-file located in another folder C:\TEMP\XML.
Error List shows the error "Error loading schema ..." (the hint shows the path to the shema to the current folder C:\TEMP\XML).
At the same time when pressing "GoTo definition" the xsd-schema is successfully opening from C:\TEMP\XSD.
What's wrong?
If the xsd-files are located in the same folder everything is fine.

Best regards,
Dmitrii

Image

Image

@lovettchris
Copy link
Member

Thanks for the bug report. I wonder if the Schema dialog path needs to be the same case, your error shows TEMP in upper case, whereas the path in the SchemaDialog is "Temp". Perhaps you could try editing the path in the SchemaDialog to make it upper case and see if that help?

@timochev
Copy link
Author

Chris, thank you for your answer.
I tried but nothing changed.
Image

I have tested xml for another xsd. The same error, but XML Notepad sees the XSD, because it shows the annotation.
Image

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

No branches or pull requests

2 participants