You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-commits@incubator.apache.org by "Ignacio Coloma (JIRA)" <ji...@apache.org> on 2007/07/23 12:02:32 UTC

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

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


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.