{"action":"opened","issue":{"url":"https://api.github.com/repos/cbeust/testng/issues/955","labels_url":"https://api.github.com/repos/cbeust/testng/issues/955/labels{/name}","comments_url":"https://api.github.com/repos/cbeust/testng/issues/955/comments","events_url":"https://api.github.com/repos/cbeust/testng/issues/955/events","html_url":"https://github.com/cbeust/testng/issues/955","id":126737791,"number":955,"title":"When generating a suite in Java, the Doctype isn't set on the XML","user":{"login":"cktech529","id":6800679,"avatar_url":"https://avatars.githubusercontent.com/u/6800679?v=3","gravatar_id":"","url":"https://api.github.com/users/cktech529","html_url":"https://github.com/cktech529","followers_url":"https://api.github.com/users/cktech529/followers","following_url":"https://api.github.com/users/cktech529/following{/other_user}","gists_url":"https://api.github.com/users/cktech529/gists{/gist_id}","starred_url":"https://api.github.com/users/cktech529/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cktech529/subscriptions","organizations_url":"https://api.github.com/users/cktech529/orgs","repos_url":"https://api.github.com/users/cktech529/repos","events_url":"https://api.github.com/users/cktech529/events{/privacy}","received_events_url":"https://api.github.com/users/cktech529/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-14T20:06:50Z","updated_at":"2016-01-14T20:06:50Z","closed_at":null,"body":"Console is throwing: \r\n\r\n[selenium:testng] [TestNGAntTask] TESTNG PASSED @C:\\Users\\kingc5\\AppData\\Local\\Temp\\testng5128003067675449678 WHICH CONTAINS:\r\n[selenium:testng]   -usedefaultlisteners\r\n[selenium:testng]   false\r\n[selenium:testng]   -d\r\n[selenium:testng]   C:\\views\\NEXTGE~2\\nxgui\\NxGenWorkspace\\results\\cemgui\\automation-testing-reports\r\n[selenium:testng]   -configfailurepolicy\r\n[selenium:testng]   skip\r\n[selenium:testng]   -suitename\r\n[selenium:testng]   Ant suite\r\n[selenium:testng]   -testname\r\n[selenium:testng]   Ant test\r\n[selenium:testng]   -suitethreadpoolsize\r\n[selenium:testng]   10\r\n[selenium:testng]   C:\\views\\NEXTGE~2\\nxgui\\NxGenWorkspace\\build-utils\\automation\\config\\testng_cemgui.xml\r\n[selenium:testng] [TestNGContentHandler] [WARN] It is strongly recommended to add \"<!DOCTYPE suite SYSTEM \"http://testng.org/testng-1.0.dtd\" >\" at the top of your file, otherwise T\r\nestNG may fail or not work as expected.\r\n[selenium:testng] [TestNGContentHandler] [WARN] It is strongly recommended to add \"<!DOCTYPE suite SYSTEM \"http://testng.org/testng-1.0.dtd\" >\" at the top of your file, otherwise T\r\nestNG may fail or not work as expected.\r\n[selenium:testng] [TestNGContentHandler] [WARN] It is strongly recommended to add \"<!DOCTYPE suite SYSTEM \"http://testng.org/testng-1.0.dtd\" >\" at the top of your file, otherwise T\r\nestNG may fail or not work as expected.\r\n\r\n<!DOCTYPE suite SYSTEM \"http://testng.org/testng-1.0.dtd\" >  should then be set \r\n\r\n\tXmlSuite suite = new XmlSuite();\r\n\tList<String> listeners = Arrays.asList(getProject().getProperty(\"listeners\"));\r\n\tsuite.setListeners(listeners);\r\n\tsuite.setSuiteFiles(testSuiteNames);\r\n        try {\r\n\t\tstringToDom(suite.toXml(), get_testNgXmlFile()); <-- Should suite.toXml() prepend this?\r\n\t\t\t} catch (SAXException | ParserConfigurationException\r\n\t\t\t\t\t| TransformerException e) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te.printStackTrace();\r\n         }"}}