IvyDE
  1. IvyDE
  2. IVYDE-297

ivy.xsd bundled with IvyDE appears to be incorrect

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.2.0.beta1
    • Component/s: ivy editor
    • Labels:
      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>

        Activity

        Hide
        Nicolas Lalevée added a comment -

        I have updated the ivy.xsd, thanks for your report

        Show
        Nicolas Lalevée added a comment - I have updated the ivy.xsd, thanks for your report

          People

          • Assignee:
            Nicolas Lalevée
            Reporter:
            David Carr
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development