Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.12
-
None
-
None
-
Windows 8 64-bit
Description
This is meant for xbean-blueprint, but that entry doesn't exist above, so it will need changed somehow.
Fix so that the xsds can be found properly if they are included in a fragment bundle, otherwise only the resources in the host bundle are visible. I found that the method used in here to load the xsd resource is the one that is supposed to be used since it also looks for a resource in any fragment bundles as well.
The "Fragment bundle fix" pull request has the changes necessary to allow the namespacehandler to be able to find the xsd resources regardless if they are in a regular bundle of a fragment bundle. The javadocs for the method that does the searching indicates that it will also search fragment bundles for the resources as well. I've been using this fix compiled into an xbean-blueprint jar I compiled for my other opensource project I'm working on and it works great.