aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes xmlBean Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "xmlBean Problem" Watch "xmlBean Problem" New topic
Author

xmlBean Problem

Mike Cole
Ranch Hand

Joined: Sep 25, 2006
Posts: 38
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xmlBean Problem