ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Coene (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (IVY-1278) Published XML Schema misses declaration for /ivy-module/configurations/@defaultconf attribute
Date Tue, 03 May 2011 22:27:03 GMT

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

Maarten Coene resolved IVY-1278.
--------------------------------

    Resolution: Fixed
      Assignee: Maarten Coene

This should be ok now, could you give it a try ?

> Published XML Schema misses declaration for /ivy-module/configurations/@defaultconf attribute
> ---------------------------------------------------------------------------------------------
>
>                 Key: IVY-1278
>                 URL: https://issues.apache.org/jira/browse/IVY-1278
>             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:
> http://ant.apache.org/ivy/history/latest-milestone/ivyfile/configurations.html
> However, looking at the published XML schema, it looks like it was not updated to provide
definition for the new attribute:
> http://ant.apache.org/ivy/schemas/ivy.xsd
> 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: http://www.atlassian.com/software/jira

Mime
View raw message