Meaningless Drivel is fun!*
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: jaxb:properties
 
Similar Threads
Axis 1.4 throwing org.xml.sax.SAXException: Invalid element
converting xsd to html
XML schema fails to load
Help me for xsd creation
namespace