• 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