You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Achim Nierbeck (JIRA)" <ji...@apache.org> on 2010/12/01 23:24:14 UTC

[jira] Commented: (KARAF-53) Provide XML Schema for feature descriptors and support it's validation

    [ 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: 

{code}
    <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:choice>
        <xs:attribute name="name" type="tns:featureName" use="required" />
        <xs:attribute name="version" type="xs:string" default="0.0.0" />
    </xs:complexType>
{code}
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.