According to ivy.xsd, ivyauthor elements should always appear before repository elements, so this test XML file was invalid according to its XSD. After correcting this and enabling validation, the issue reported in GRADLE-2743 occurred. The proposed changes to IvyXmlModuleDescriptorParser resolved the error.