Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAXB - generating XML schema problem  RSS feed

 
Dave Jones
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 ??

Thanks,
Dave
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!