Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-398

Features schema is not correct

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.0, 3.0.0
    • None
    • None

    Description

      The Karaf Enterprise features descriptor is not correct:
      java.lang.IllegalArgumentException: Unable to validate mvn:org.apache.karaf.features.assembly/enterprise/2.1.99-SNAPSHOT/xml/features
      ...
      Caused by: org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'description' is not allowed to appear in element 'feature'

      The problem is that the features schema is not correct:

      • description should be an attribute of the feature element
      • detail is an element of the feature element

      I will update the XSD in both features core and site/xmlns/features in this way.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: