• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jaxb binding rror confused

 
Erwin Bredford
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your schema has two personType

instead try changing one name as below


this might solve the problem.
 
Erwin Bredford
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks i solved the problem but ur suggestion was not the solution xml schema is case sensitive so it does not matter .
thanks again
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic