• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

xmlBean Problem

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Yeah, but does being a ninja come with a dental plan? And what about this tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic