*
The moose likes XML and Related Technologies and the fly likes jaxb binding rror confused 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 binding rror confused" Watch "jaxb binding rror confused" New topic
Author

jaxb binding rror confused

Erwin Bredford
Ranch Hand

Joined: Feb 11, 2003
Posts: 167
please could u help i have this xsd i am trying to bind
but the xjc complier .i don't see anything wrong with the schema and the xml validator is successful.
the problem when it try to generate the classes with xjc
i get this error

there no dulipcate PersonType i am very confused.


The xml i am trying get with this schema is



thanks i will really be very grateful if someone can explain this to me


--One learns a lot during a lesson but seeing is not enough,you must do;knowing is not enough ,you must apply--<br />SCJP 1.4,SCBCD,SCEA part 1,OCM JEE Enterprise Architect.
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Your schema has two personType

instead try changing one name as below


this might solve the problem.


Spritle Software Blogs
Erwin Bredford
Ranch Hand

Joined: Feb 11, 2003
Posts: 167
thanks i solved the problem but ur suggestion was not the solution xml schema is case sensitive so it does not matter .
thanks again
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jaxb binding rror confused
 
Similar Threads
Question about xml schemas and the use of unqualified nested elements
XSD problem
Please Confirm a Very Simple XSD Created by Me
xml validation failure
Against what schemas validate themselves?