If a DTD is redirected, Slick errors out instead of following the redirect.
For example, this start of a POM.xml file
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
Gives this error in the OUTPUT window
fatal: not a git repository (or any of the parent directories): .git
Error processing DTD
'http:\\maven.apache.org\maven-v4_0_0.xsd' for file 'C:\src\pom.xml'. URL moved.
(Also, Notice Slick prints out an
invalid URL -- using \ instead of /.)
Now, using CURL
curl -i http://maven.apache.org/maven-v4_0_0.xsd
HTTP/1.1 301 Moved Permanently
Date: Fri, 12 Oct 2018 18:01:51 GMT
Server: Apache/2.4.18 (Ubuntu)
Location: http://maven.apache.org/xsd/maven-4.0.0.xsd
Content-Length: 251
Content-Type: text/html; charset=iso-8859-1
<!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="http://maven.apache.org/xsd/maven-4.0.0.xsd">here</a>.</p>
</body></html>
We see that it is redirect to:
http://maven.apache.org/xsd/maven-4.0.0.xsdSlick oughta use that file!