{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/9e263681488308e5e5d5e548b2f9bc99?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"9e263681488308e5e5d5e548b2f9bc99","url":"https://api.github.com/users/cweiske","login":"cweiske","id":59036},"labels":[],"assignee":null,"updated_at":"2011-11-16T20:15:23Z","comments":3,"closed_at":"2011-04-29T19:58:31Z","url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/237","body":"I tried to use the xml log file generated by phpunit's --log-junit option with ant and its junitreport task. \r\nUnfortunately, it tells me that the xml file does not live up to it expectations:\r\n\r\n    gen-report:\r\n    [junitreport] the file /foo/tests/log.junit.xml is not a valid testsuite XML document\r\n\r\nMy ant build.xml file:\r\n\r\n    <?xml version=\"1.0\" encoding=\"utf-8\" ?>\r\n    <project name=\"testreports\" default=\"gen-report\" basedir=\".\">\r\n     <target name=\"gen-report\">\r\n      <junitreport todir=\"./reports\">\r\n       <fileset dir=\"../\">\r\n\t    <include name=\"log.junit.xml\"/>\r\n       </fileset>\r\n       <report format=\"frames\" todir=\"./html\"/>\r\n      </junitreport>\r\n     </target>\r\n    </project>\r\n","html_url":"https://github.com/sebastianbergmann/phpunit/issues/237","title":"JUnit XML file incorrect","number":237,"id":818914,"created_at":"2011-04-27T09:48:09Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/3312219849e076b5e99adb78b9e60b58?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"3312219849e076b5e99adb78b9e60b58","url":"https://api.github.com/users/mehaase","login":"mehaase","id":320904},"updated_at":"2011-11-16T20:15:23Z","url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/comments/2767213","body":"I wish this was fixed... it's not really compatible with JUnit at all, really.","id":2767213,"created_at":"2011-11-16T20:15:23Z"}}