Author Topic: DTD Processing doesn't handle redirects  (Read 565 times)


  • Senior Community Member
  • Posts: 1884
  • Hero Points: 183
  • Text
DTD Processing doesn't handle redirects
« on: October 12, 2018, 06:04:07 pm »
If a DTD is redirected, Slick errors out instead of following the redirect.
For example, this start of a POM.xml file

Code: [Select]
        <project xmlns=""
Gives this error in the OUTPUT window
    fatal: not a git repository (or any of the parent directories): .git
Error processing DTD 'http:\\\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
Code: [Select]
    curl -i
    HTTP/1.1 301 Moved Permanently
    Date: Fri, 12 Oct 2018 18:01:51 GMT
    Server: Apache/2.4.18 (Ubuntu)
    Content-Length: 251
    Content-Type: text/html; charset=iso-8859-1

    <title>301 Moved Permanently</title>
    <h1>Moved Permanently</h1>
    <p>The document has moved <a href="">here</a>.</p>

We see that it is redirect to:

Slick oughta use that file!