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?