Author Topic: XSD file not found  (Read 3002 times)

Nosh

  • Community Member
  • Posts: 39
  • Hero Points: 1
XSD file not found
« on: August 12, 2019, 07:02:01 PM »
When editing a xml file I get the warning:
Error processing schema for file ...
File 'https:\\openhab.org\schemas\thing-description-1.0.0.xsd' not found

But the file exists, I can download it.
Also the slashes of the link in the xml file are converted to backslashes in the warning message.
Im using the windows 64Bit version.

Dennis

  • Senior Community Member
  • Posts: 3961
  • Hero Points: 517
Re: XSD file not found
« Reply #1 on: August 15, 2019, 12:22:03 AM »
We are aware of a few problems with the XML validation.  I'll look into this (eventually).

Dennis

  • Senior Community Member
  • Posts: 3961
  • Hero Points: 517
Re: XSD file not found
« Reply #2 on: August 16, 2019, 12:17:25 AM »
The issue with the file you attached is that we do not yet support opening files from a https:// URL.  This also effects the schema tagging for color coding.  You can stop the error messages by turning off (Document > XML Options... > Color Coding > Language > "Use schema for color coding")

I am going to look into this, but it may not be practical to implement quickly.

I have found that I can fix our Xerces based XML validation to handle this though, so that fix will be in beta3.