Peter Lynch wrote:
> Hi,
>
> I noticed that passing javadoc from xsd jxb:javadoc tags to enumeration values
> is currently not supported by xjc ( at least it doesn't work for me). This led
> me to try writing a plugin that would do it.
Err, that actually sounds like a bug. So you'd probably want to change
the RI, instead of doing it as a plugin (so that we can incorporate your
change :-) :-)
I looked at the code, and it does seem to contain some code already,
like CEnumConstant.javadoc. So I guess for some reason this field is not
populated properly.
> Problem I am having is that I'm stuck trying to get easy access to the
> jxb:javadoc binding text in my binding file.
>
> How do I access the binding info directly to get the text I specify there so
> that I can insert it into the javadoc for each enum?
>
> -Peter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com