You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2011/01/17 18:37:43 UTC

[jira] Updated: (KARAF-398) Features schema is not correct

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

Jean-Baptiste Onofré updated KARAF-398:
---------------------------------------

    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.

  was:
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 XSD should be updated to allow description in feature tag.

        Summary: Features schema is not correct  (was: Enterprise features descriptor is not valid)

> Features schema is not correct
> ------------------------------
>
>                 Key: KARAF-398
>                 URL: https://issues.apache.org/jira/browse/KARAF-398
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.0, 3.0.0
>
>
> 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.

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