Hello,

XMLBeans is working great for me, thank you to all contributors.

I'm having a strange problem:

When run within Tomcat (types are within a jar file in WEB-INF/lib):

XmlObject enclosure = (XmlObject)XmlObject.Factory.parse(someFooDom);

enclosure.getClass().getName() = my.xmlbeans.package.FooDocument (as expected)


When run outside of Tomcat (i.e. say when used within a JUnit test,
generated JARs are still inside classpath):


XmlObject enclosure = (XmlObject)XmlObject.Factory.parse(someFooDom);

enclosure.getClass().getName() = org.apache.xmlbeans.impl.values.XmlAnyTypeImpl


I verified that the passed documents are exactly the same. Does this
mean that in the second scenerio XMLBeans can't 'see' my schemas and
corresponding beans? Any ideas on how I can figure out why my document
isn't been 'seen' as a FooDocument?


I know this is a vague issue, but I'm hoping somewhere out there has
an 'aha' moment.

Thanks so much,

Ed

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to