users@jaxb.java.net

Re: _at_XmlJavaTypeAdapter questions

From: Wolfgang Laun <wolfgang.laun_at_gmail.com>
Date: Mon, 25 Aug 2008 16:38:41 +0200

On Mon, Aug 25, 2008 at 4:13 PM, Melchior, Joris <Joris.Melchior_at_fmr.com> wrote:

> Another thing I noticed is that where it does create the proper adapter for
> me when using conversion of simple types the generated code is annotated
> like this;
>
> @XmlJavaTypeAdapter(Adapter4 .class)
>
> The space between 'Adapter4' and '.class' is generated and gives errors as
> you would expect.

This I don't, the argument type being Class<? extends XmlAdapter>, and
there's no reason that there can't be some white space before and/or after
the period between a class name and one of its static fields.

Which error message do you get from which compiler?
-Wolfgang

>
> I'm working with version 2.1.7.