Another feature in POIXMLTypeLoader is its usage of the requested type classloader (POIXMLTypeLoader:102).
If I comment out the POIXMLTypeLoader replacement in the build.xml, the OSGi test case [1] doesn't work anymore. I'm not sure, if this feature should be implemented in XmlBeans directly, as I don't know the negative side-effects when not using the thread context classloader ... but I guess, usually the classloader used to load the schema jar should also contain the necessary dependencies. [1] TestPOIXMLDocument.testOSGIClassLoading()
signature.asc
Description: OpenPGP digital signature