wood burning stoves 2.0*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: jaxb:properties