Closed Cicorione closed 11 months ago
Could you share your github project with your XSD, catalog XML file, etc and your vscode settings, thanks
Hi @angelozerr it is not a Github project, I can share a sample code and schema, but I don't know how to export vscode settings, let me see if searching on line I can find how do to that.
@angelozerr not sure what happened, but when I created a new file to reproduce the issue automagically schemas started to be associated although I asked for the .XML
file while the VSCODE-XML
is using the .XSD
one. I am going to take some days more to see if the issue starts again, thanks.
Lets give up the vscode settings but please share your xml catalog xml files and xsd
@angelozerr
I reproduced the problem and it was totally my fault and huge PEBCAK as usual... 🤦
I've never took the initiative to open schema file, and I just followed the instruction provided by the software so I simply copied a file from a position to another.
It results the file I was copying is recalling the .XSD file:
<?xml version="1.0" encoding="UTF-8"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<!-- W3C schema -->
<uri name="urn:speedata.de:2009/publisher/en" uri="layoutschema-en.xsd"/>
</catalog>
And today is happened that instead of copy only the file called layout-schema-en.xml
I copied all the files, including layoutschema-en.xsd
and automagically everything started to work as it should be.
🤦
@Cicorione if I understand you resolved your problem?
Yes I did.
Glad you fixed your issue and I hope you will enjoy with vscode-xml.
I close the issue
Dear All,
I believe I properly associated the schema I need in the preference:
however when I go working on the XML document, errors aren't find, if tags are in the wrong order this is not reported, tag auto-completion is missing.
But on the root tag I have this message:
Below useful information about my environment:
About the plugin
About Windows
About VSCode
I checked if multiple XML servers were running, but they are not, I have only one server run.
Thank you! 🙏