File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "jaxb:properties" Watch "jaxb:properties" New topic


Cesar Garcia

Joined: Apr 30, 2012
Posts: 1

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
I agree. Here's the link:
subject: jaxb:properties
It's not a secret anymore!