posted 16 years ago
Hi all,
i have a problem with xmlBeans and somehow i dont see a solution atm. maybe someone of you can help me.
I have different xml-Files which are nearlly identical(exept for some minor tags)
One for text, one for images.
So i though i am clever and make two different xmlBean-Libraries (jars)
It worked as expected with the images. But now iam trying to load the articles...
To create an image-document i use this:
Later on i try to import the text:
and i get following error message:
Nowhere in my code i try to cast anything. I just use these two xmlBean Libraries (one called img.jar, the other txt.jar)
To make them more different ive used that xsdconfig stuff. Thats why they have the text/image suffix everywhere.
Can anyone help me with this? Thnx!