myclass should be visible to bundle 'B'. Verify, if you have added it in the Import-Package header. Thanks, Srijith.
>>> chlee <le...@etri.re.kr> 12/08/2010 12:59 >>> Hello, I'm having a strange problem during developing my osgi bundles in equinox. When I run the below code within a A bundle, XmlObject docXml = (XmlObject)XmlObject.Factory.parse(new File ("test.xml")); System.out.print("Type of docXml: " + docXml.getClass()); the result is "Type of docXml: class myclass". (normal case) but when I made another B bundle calling A bundle(exactly A bundle's registered service) and then run the same code, the result is "Type of docXML: class org.apache.xmlbeans.impl.values.XmlAnyTypeImpl" (abnormal case) I verified that the passed document("test.xml") is correct. I don't know why the result of same module are different? View this message in context: org.apache.xmlbeans.impl.values.XmlAnyTypeImpl problem in Equinox ( http://old.nabble.com/org.apache.xmlbeans.impl.values.XmlAnyTypeImpl-problem-in-Equinox-tp29415479p29415479.html ) Sent from the Xml Beans - User mailing list archive ( http://old.nabble.com/Xml-Beans---User-f349.html ) at Nabble.com.