I spent a little time moving the jaxb tree for features.xml into features core and getting it to work with features core. (and then a lot of time trying to figure out how to get it onto my github branch. I think it's on the "master" branch at https://github.com/djencks/karaf/branches)
I have a few questions. 1. Why are the feature structure interfaces (Feature, BundleInfo, etc) exported from feature core at all? 2. If they really need to be exported, is there a good reason to use interfaces rather than the jaxb classes? 3. The schema allows 0..unbounded details elements since its an optional member of a choice group. The original classes only allow one detail. I guess we want to only allow one detail element? 4. There's only one Feature interface for both a complete feature (top level in features element ) and a dependency feature inside a feature element. The second one is more of a feature-ref since it doesn't have any actual contents for the feature. I think it might be reasonable to have two interfaces so as to distinguish these more easily. Does anyone want to review this or should I just go ahead and commit it? thanks david jencks
