Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Handling same name for multiple elements in jaxb

 
Praful Thakare
Ranch Hand
Posts: 642
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a xsd that looks like


and jaxb binding like




when I try to generate java class i get error XPath evaluation of "//xs:element[@name='Something']" results in too many (2) target nodes

any solution?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic