users@jaxb.java.net

Creating xs:documentation elements

From: Vladimir Blagojevic <dovlex_at_gmail.com>
Date: Wed, 29 Jul 2009 11:29:17 +0200

Hi,

I've pretty much achieved what I needed to do using JAXB - use
annotations to map configuration class hierarchy to XML and thus
seamlessly unmarshall configuration files into object model as well as
to create XML schema for configuration files.

The only remaining thing on todo list is to attach
xs:annotation/xs:documentation elements to generated schema but I don't
think this is possible? Is there a way to extends JAXB annotation set
and hook up custom processing of generated schema tree to include custom
annotations?

Regards,
Vladimir