You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Andreas Pieber (JIRA)" <ji...@apache.org> on 2011/01/02 10:52:46 UTC

[jira] Updated: (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:all-tabpanel ]

Andreas Pieber updated KARAF-53:
--------------------------------


Hey Lukasz,

I've reviewed your commit and I'm not sure but:

1) the configfile param is not included (as proposed by achim)
2) I'm a little bit confused about the locations of the .xsd files

pieber@coprime [10:34:47] [~/projects/karaf] [trunk]
-> % find -name "*.xsd"                                            
./jaas/config/src/main/resources/org/apache/karaf/jaas/config/karaf-jaas-1.0.0.xsd
./jaas/config/src/main/resources/org/apache/karaf/jaas/config/karaf-jaas-1.1.0.xsd
./shell/console/src/main/resources/org/apache/karaf/shell/console/commands/karaf-shell.xsd
./features/core/src/main/resources/features.xsd

Shouldn't we put all .xsd files to a "common path"?

3) How do we upload the files to http://karaf.apache.org/xmlns/shell/?

4) The karaf features.xml doesn't use your features.xsd

I can push the .xsd files to the karaf repo (if you still have problems then), but IMHO we should tend to the issues I've pointed out here first

WDYT?

> 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.