This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAXB with mulitple XSD's  RSS feed

 
Hendrik Louw
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I've got a very intressting problem.

I need to create 2 diffrent XML's using JAXB. Both of the XSD's "import" a shared XSD which defines some common data types.

now, when I generate the jaxb, I'd like to generate the jaxb stubs for each XSD within it's own package. Now my problem is that, since the XSD imports the shared one and I generate each one in it's own package, the "shared" stubs are duplicated. What I would like it to do is generate the stubs for the shared XSD into a seperate package, and instruct the xjc compiler to use the already generated stubs instead of generating them again ?

I've googled as much as possible, but cannot find anything about this.
Thanks in advance.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!