Uploaded image for project: 'IvyDE (Retired)'
  1. IvyDE (Retired)
  2. IVYDE-297

ivy.xsd bundled with IvyDE appears to be incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0.beta1
    • ivy editor
    • None

    Description

      In IvyDE 2.1.0 with Eclipse Indigo SR2, when I open an ivy.xml file with an XML schema declaration in the XML editor as opposed to the Ivy editor, I get the following error on the extends element. An example ivy.xml is also included below.

      It looks to me like IvyDE registered a copy of ivy.xsd that it bundles in the Eclipse XML Catalog for key "http://ant.apache.org/ivy/schemas/ivy.xsd", and it is using that copy in preference to the one on the Ivy website. However, looking at the source bundle for apache-ivyde-sources-2.1.0.201008101807-RELEASE, it looks like org.apache.ivyde.eclipse\xsd\ivy.xsd doesn't include the extends element that the official version of ivy.xsd contains. I haven't checked for other discrepancies.

      cvc-complex-type.2.4.a: Invalid content was found starting with element 'extends'. One of '

      {license, ivyauthor, repository, description, WC[##other:""]}

      ' is expected.

      <?xml version="1.0" encoding="UTF-8"?>
      <ivy-module version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
      <info organisation="com.commercehub"
      module="appd"
      revision="viewlocal"
      status="integration"
      publication="20120222163738"
      >
      <extends organisation="com.commercehub" module="jar" revision="1.0.0" extendType="all"/>
      <description />
      </info>
      <!-- other stuff here removed -->
      </ivy-module>

      Attachments

        Activity

          People

            hibou Nicolas Lalevée
            david@carr.name David Carr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: