Closed prof7bit closed 4 years ago
Seems this xsd link does not work for me:
$ curl "http://www.io-link.com/IODD/2010/10 IODD1.1.xsd"
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="https://io-link.com/IODD/2010/10%20IODD1.1.xsd">here</a>.</p>
</body></html>
park.js:14 Mixed Content: The page at 'https://io-link.com/IODD/2010/10%20IODD1.1.xsd' was loaded over HTTPS, but requested an insecure script 'http://pagead2.googlesyndication.com/apps/domainpark/show_afd_ads.js'. This request has been blocked; the content must be served over HTTPS.
This is not a link, this is a tuple separated by whitespace. First element is namespace, second is schema file name.
It should probably implement some kind of heuristic to look for the schema file when the namespace lokks like a http URL.
OK, so the reason is obvious. Currently only absolute paths are supported.
Maybe categorize this as a feature request instead of a bug
See attached screenshot. It shows two errors although the xsd file exists at this location. Itfails to download the schema and autocomplete will not work.
I have also attached a zip file containing the xml file causing the error.
IO-Link-01-DirectParamsDevice-20130515-IODD1.1.zip