Greetings,
I've written a JAXB2 plugin that sets default values for primitive types
and Strings based on the "default" attribute for an element in a schema.
If it would be useful, I'd be happy to make it available to people
looking for such a plugin. I use JAXB to create value objects for a web
application, and I needed the ability to set sensible defaults (for
radio buttons mapped to booleans, etc.). This plugin does that.
- Hari