You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Erik-Berndt Scheper (JIRA)" <ji...@apache.org> on 2008/06/12 09:15:45 UTC

[jira] Updated: (IVY-837) Ivy unit tests fail because 'classifier' attribute of 'artifacts' element is missing in ivy.xsd

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

Erik-Berndt Scheper updated IVY-837:
------------------------------------

    Attachment: IVY-837-patch.txt

Simple patch to update xsd and make the unit tests pass.

Please note that it does not include any xsd / xooki documentation, because I don't know the intentions behind this attribute.

> Ivy unit tests fail because 'classifier' attribute of 'artifacts' element is missing in ivy.xsd
> -----------------------------------------------------------------------------------------------
>
>                 Key: IVY-837
>                 URL: https://issues.apache.org/jira/browse/IVY-837
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0-RC1
>            Reporter: Erik-Berndt Scheper
>             Fix For: 2.0-RC1
>
>         Attachments: IVY-837-patch.txt
>
>
> Currently the ivy unit tests fail because 'classifier' attribute of 'artifacts' element is missing in ivy.xsd:
> Test report of class org.apache.ivy.plugins.parser.m2.PomModuleDescriptorParserTest indicates a failure of testDependenciesWithClassifier:
> {noformat}
> [xml parsing: test-write.xml:23:86: cvc-complex-type.3.2.2: Attribute 'classifier' is not allowed to appear in element 'artifact'. in file:/D:/java-apps/ivy/build/test/test-write.xml , xml parsing: test-write.xml:24:87: cvc-complex-type.3.2.2: Attribute 'classifier' is not allowed to appear in element 'artifact'. in file:/D:/java-apps/ivy/build/test/test-write.xml ]
> java.text.ParseException: [xml parsing: test-write.xml:23:86: cvc-complex-type.3.2.2: Attribute 'classifier' is not allowed to appear in element 'artifact'. in file:/D:/java-apps/ivy/build/test/test-write.xml
> , xml parsing: test-write.xml:24:87: cvc-complex-type.3.2.2: Attribute 'classifier' is not allowed to appear in element 'artifact'. in file:/D:/java-apps/ivy/build/test/test-write.xml
> ]
> at org.apache.ivy.plugins.parser.AbstractModuleDescriptorParser$AbstractParser.checkErrors(AbstractModuleDescriptorParser.java:89)
> at org.apache.ivy.plugins.parser.AbstractModuleDescriptorParser$AbstractParser.getModuleDescriptor(AbstractModuleDescriptorParser.java:342)
> at org.apache.ivy.plugins.parser.xml.XmlModuleDescriptorParser.parseDescriptor(XmlModuleDescriptorParser.java:100)
> at org.apache.ivy.plugins.parser.AbstractModuleDescriptorParser.parseDescriptor(AbstractModuleDescriptorParser.java:48)
> at org.apache.ivy.plugins.parser.m2.PomModuleDescriptorParserTest.testDependenciesWithClassifier(PomModuleDescriptorParserTest.java:211)
> {noformat}
> Also note that some documentation about the intentions behind this new attribute would not be amiss.

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