Here is the XML Schema for the XML produced by Apache Ant‘s JUnit task and JUnitReport task, based on the code in Apache Ant 1.8.2: