ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergei Ivanov (JIRA)" <>
Subject [jira] [Commented] (IVY-1278) Published XML Schema misses declaration for /ivy-module/configurations/@defaultconf attribute
Date Wed, 04 May 2011 01:05:03 GMT


Sergei Ivanov commented on IVY-1278:

I can confirm that the latest published schema is ok with regards to the 'defaultconf' attribute,
and my test ivy.xml file now validates correctly.
Can anyone please delete the comment above (dated 03/May/11 22:51)?

> Published XML Schema misses declaration for /ivy-module/configurations/@defaultconf attribute
> ---------------------------------------------------------------------------------------------
>                 Key: IVY-1278
>                 URL:
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Sergei Ivanov
>            Assignee: Maarten Coene
>            Priority: Blocker
> According to Ivy reference, 'defaultconf' attribute has been introduced in 2.2:
> However, looking at the published XML schema, it looks like it was not updated to provide
definition for the new attribute:
> As a result, our build fails with XML validation error if we include schema reference:
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]           ::          UNRESOLVED DEPENDENCIES         ::
> [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]           :: org.apache#xalan;2.7.1: java.text.ParseException: [xml parsing:
ivy-2.7.1.xml.original:8:41: cvc-complex-type.3.2.2: Attribute 'defaultconf' is not allowed
to appear in element 'configurations'. in file:/opt/app/...../hudson/ivyrepo/cache/org.apache/xalan/2.7.1/ivy-2.7.1.xml.original
> [ivy:resolve] ]
> This will be a trivial fix to the schema definition, you just need to include the following
line inside type definition for 'configurations' element:
> <xs:attribute name="defaultconf" type="xs:string"/>

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message