[GRADLE-2987] ivy xml parsing issues related to change of the xml schema to 1.1 Created: 13/Jan/14  Updated: 24/Jan/14  Resolved: 17/Jan/14

Status: Resolved
Project: Gradle
Affects Version/s: 1.10
Fix Version/s: 1.11-rc-1

Type: Bug
Reporter: Szczepan Faber Assignee: Szczepan Faber
Resolution: Fixed Votes: 1

Known Issue Of:

 Description   

Gradle 1.10 started generating ivy xmls with xml schema v 1.1:

//Gradle 1.10:
<?xml version="1.1" ...
//Gradle 1.9-:
<?xml version="1.0" ...

I've verified that there are some issues parsing those ivy files by standard java tools based on xerces. Basically, the parsing is not reliable.



 Comments   
Comment by Szczepan Faber [ 13/Jan/14 ]

Possibly related: http://forums.gradle.org/gradle/topics/dependency_resolution_problem_in_gradle_1_10

Comment by Szczepan Faber [ 13/Jan/14 ]

Another possibly related: http://forums.gradle.org/gradle/topics/there_appears_to_be_a_bug_in_gradle_1_10_in_regards_to_the_new_ivyxmlmoduledescriptorwriter

Comment by Benjamin Muschko [ 15/Jan/14 ]

Here're other reports of the issue:

http://forums.gradle.org/gradle/topics/dependency_corruption_in_1_10
http://forums.gradle.org/gradle/topics/gradle_1_10_cant_handle_ivy_xml_generated_by_itself_with_xml_version_1_1

Comment by Szczepan Faber [ 15/Jan/14 ]

Anyone who is facing this problem can you try latest gradle nightly and let us know? http://gradle.org/nightly

Comment by Kristian Rosenvold [ 24/Jan/14 ]

Thanks, latest build solved the problem. Remember to clear out .gradle/cache to get rid of the "xml 1.1" files.

Generated at Wed Jun 30 12:36:50 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.