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

Nosh

  • Community Member
  • Posts: 38
  • 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

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2713
  • Hero Points: 413
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

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2713
  • Hero Points: 413
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.