karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Achim Nierbeck (JIRA)" <j...@apache.org>
Subject [jira] Commented: (KARAF-53) Provide XML Schema for feature descriptors and support it's validation
Date Wed, 01 Dec 2010 22:24:14 GMT

    [ https://issues.apache.org/jira/browse/KARAF-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965880#action_12965880

Achim Nierbeck commented on KARAF-53:

For realization of KARAF-303 the following could be added to feature: 

    <xs:complexType name="feature">
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element name="feature" type="tns:dependency" />
            <xs:element name="bundle" type="xs:anyURI" />
            <xs:element name="config" type="tns:config" />
            <xs:element name="description" type="xs:string"></xs:element>
        	<xs:element name="configurationDescription" type="xs:string"></xs:element>
        <xs:attribute name="name" type="tns:featureName" use="required" />
        <xs:attribute name="version" type="xs:string" default="0.0.0" />
What do you think?

> Provide XML Schema for feature descriptors and support it's validation
> ----------------------------------------------------------------------
>                 Key: KARAF-53
>                 URL: https://issues.apache.org/jira/browse/KARAF-53
>             Project: Karaf
>          Issue Type: Improvement
>            Reporter: Łukasz Dywicki
>            Assignee: Łukasz Dywicki
> Current version of feature service does not validate structure of document. It would
be nice to add XML Schema from next reasons:
> - better tooling in IDEs
> - less mistakes
> - semantic correctness

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

View raw message