Cedric Beust

Results 186 comments of Cedric Beust

Hi @MartinanderssonDotcom, Inheritance is mentioned a few times in the documentation ("The annotations above will also be honored (inherited) when placed on a superclass of a TestNG class. ") so...

I just removed the redirect and restored the actual `testng-1.0.dtd` file at `http://testng.org/testng-1.0.dtd`. Let's see if this fixes the problem.

I also noticed that by default, the server sets the MIME type as `application/html` for the DTD, which might have been a reason for the errors (although we would have...

That DTD hasn't changed in a while, no idea what is causing this right now. -- Cédric On Wed, Apr 3, 2019 at 6:30 AM equazi wrote: > org.xml.sax.SAXParseException; systemId:...

How is that broken, though? It's a 302, redirection, to the https version, and that https URL works: ``` $ curl https://testng.org/testng-1.0.dtd|head % Total % Received % Xferd Average Speed...

Since Xerces doesn't honor redirections (which is baffling, to be honest), you should point to the `https` version of the DTD directly.

The XML parser you are using is not honoring redirects. Point to the DTD on the https port directly. -- Cédric On Wed, Apr 3, 2019 at 10:59 PM ssurai...

@zloygreko I set up a redirect that automatically routes all traffic from port 80 to 443 on testng.org. This is a requirement to keep everyone safe. If your XML parser...

> like why it failed if it worked before Because I recently configured testng.org to automatically redirect HTTP to HTTPS. Your options are either to point to the DTD at...