title: TestNG XML DTD error
body: <p>I'm running selenium script with testng xml, however till now, everything was working, but now it always throws error, however when I remove first line, it is working with warning</p>
  
  <p>TestNG xml file as below</p>
  
  <pre><code>&lt;!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" &gt;
  &lt;suite name="Zero Bank" verbose="1" &gt;
  &lt;test name="Zero_Banking"&gt;
  &lt;listeners&gt;
         &lt;listener class-name="com.zero.utility.Listners"/&gt;    
    &lt;/listeners&gt;
   &lt;classes&gt;
  &lt;class name = "com.zero.utility.Constants"/&gt;
  &lt;class name = "com.zero.modules.LaunchApp"/&gt;
  &lt;class name = "com.zero.modules.WhileTrue"/&gt;
  &lt;/classes&gt;
  &lt;/test&gt;
  &lt;/suite&gt;
  </code></pre>
  
  <p>and error thrown is </p>
  
  <pre><code> Exception in thread "main" org.testng.TestNGException: org.xml.sax.SAXParseException; lineNumber: 21; columnNumber: 8; The content of element type "test" must match "(method-selectors?,parameter*,groups?,packages?,classes?)".
      at org.testng.TestNG.initializeSuitesAndJarFile(TestNG.java:324)
      at org.testng.TestNG.run(TestNG.java:1101)
      at com.zero.modules.Startup.main(Startup.java:18)
  Caused by: org.xml.sax.SAXParseException; lineNumber: 21; columnNumber: 8; The content of element type "test" must match "(method-selectors?,parameter*,groups?,packages?,classes?)".
      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
      at javax.xml.parsers.SAXParser.parse(Unknown Source)
      at org.testng.xml.XMLParser.parse(XMLParser.java:39)
      at org.testng.xml.SuiteXmlParser.parse(SuiteXmlParser.java:16)
      at org.testng.xml.SuiteXmlParser.parse(SuiteXmlParser.java:9)
      at org.testng.xml.Parser.parse(Parser.java:170)
      at org.testng.TestNG.initializeSuitesAndJarFile(TestNG.java:304)
      ... 2 more
  </code></pre>