aspose file tools*
The moose likes XML and Related Technologies and the fly likes Handling same name for multiple elements in jaxb Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Handling same name for multiple elements in jaxb" Watch "Handling same name for multiple elements in jaxb" New topic
Author

Handling same name for multiple elements in jaxb

Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 641
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?


All desirable things in life are either illegal, banned, expensive or married to someone else !!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Handling same name for multiple elements in jaxb