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 question  RSS feed

Jochen Maes
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I've been using the jaxb-ea version long time, but now i switched to the jaxb 1.4 version because that one is provided with hyperjaxb.

I created a dtd and an xjs, but whatever i try in the anttask (xjc task) i can't get it to work.
So i created a xsd (generated it from the dtd) and ran xjc with that one. This does work but creates a class for each element (even when it should be a value).
In xjs i can define if it should be a value or a class but i don't kow how to handle that with the xsd.

Someone advise on how to use the dtd & xjs with the new jaxbversion?

thank you
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!