This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes XML and Related Technologies and the fly likes jaxb:properties Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "jaxb:properties" Watch "jaxb:properties" New topic
Author

jaxb:properties

Cesar Garcia
Greenhorn

Joined: Apr 30, 2012
Posts: 1
Hello

I'm using JAXB on Eclipse to parse an XML. I have done the xsd from the xml, but there is a repeated tag inside the xml. The transfer tag, appears as an element and as an attribute. When I try to compile the xsd I get the following error: [ERROR] Property "Transfer" is already defined. Use <jaxb:property> to resolve this conflict. I look over some forums but I can't find the way to solve it. Can anybody help me?

Here is the xsd:



Kind Regards
 
 
subject: jaxb:properties