Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAXB - generating XML schema problem  RSS feed

Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all
I have some java code (and interface, it's impl class and another POJO or two) and I use it to create an XML schema. Everything is ok until I have a Class containing a List. for some reason, the schema created does not recognize the List and instead creates a schema containg the object of the list (as if the list doesn't exist)
I think this might be solved using an annotation but nothing I try work.
Can anybody help shed some light ??

Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!