[ 
https://issues.apache.org/jira/browse/IVY-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xavier Hanin updated IVY-579:
-----------------------------

    Fix Version/s: 2.0

> Ivy silently fails XML errors in ivyrep
> ---------------------------------------
>
>                 Key: IVY-579
>                 URL: https://issues.apache.org/jira/browse/IVY-579
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-alpha-2
>            Reporter: Ignacio Coloma
>             Fix For: 2.0
>
>
> When using an ivyrep, in case of XML parsing error (required attributes 
> missing, for example) ivy acts as if the file could not be found. Instead, it 
> should fail with an error message.
> When executing with -verbose you get the following output:
> [ivy:retrieve] problem occured while resolving dependency: [ displaytag | 
> displaytag | 1.1 ] {*=[*]}
>  with ivyLocal: java.text.ParseException: [xml parsing: 
> C:\workspace\myproject\ivyrep\disp
> laytag\displaytag\ivy-1.1.xml:5:8: cvc-complex-type.4: Attribute 
> 'organisation' must appear on eleme
> nt 'info'. in C:\workspace\myproject\ivyrep\displaytag\displaytag\ivy-1.1.xml
> [ivy:retrieve] , xml parsing: 
> C:\workspace\myproject\ivyrep\displaytag\displaytag\ivy-1.1.
> xml:5:8: cvc-complex-type.4: Attribute 'module' must appear on element 
> 'info'. in C:\workspace\myproject\ivyrep\displaytag\displaytag\ivy-1.1.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to