You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Xavier Hanin (JIRA)" <ji...@apache.org> on 2008/04/03 18:52:24 UTC

[jira] Assigned: (IVY-579) Ivy silently fails XML errors in ivyrep

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

Xavier Hanin reassigned IVY-579:
--------------------------------

    Assignee: Xavier Hanin

> 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
>            Assignee: Xavier Hanin
>             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.