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: 
http://old.nabble.com/org.apache.xmlbeans.impl.values.XmlAnyTypeImpl-problem-in-Equinox-tp29415479p29415479.html
Sent from the Xml Beans - User mailing list archive at Nabble.com.

Reply via email to