You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xbean-dev@geronimo.apache.org by "Ryan Moquin (JIRA)" <ji...@apache.org> on 2013/01/20 03:10:12 UTC

[jira] [Created] (XBEAN-236) xsds in a fragment bundle cannot be found at bundle startup time

Ryan Moquin created XBEAN-236:
---------------------------------

             Summary: xsds in a fragment bundle cannot be found at bundle startup time
                 Key: XBEAN-236
                 URL: https://issues.apache.org/jira/browse/XBEAN-236
             Project: XBean
          Issue Type: Bug
          Components: maven-plugin
    Affects Versions: 3.12
         Environment: Windows 8 64-bit
            Reporter: Ryan Moquin


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira