Hello Hao

Le 14/08/2018 à 18:38, phuong hao nguyen thi a écrit :

> (…snip…)
>
> [ERROR] Base complex type "AdditionalParametersBaseType" is derived by
> restriction, while this complex type "AdditionalParametersType" is
> derived by extension. This is not currently handled by XJC, (…snip…)
>
The error message suggests an XJC limitations. Together with the other
errors you reported, it suggests that it may be easier to derive the
Java classes by hand, as you did.


> Do you encountered these errors yet  ? If yes, can you help me how to
> fix it ?
>
I have not encountered those errors myself, since I put JAXB annotations
by hand. I think this is what you also did for Catalog on the Web before
this XJC trial, isn't it? The errors you reported seem to indicate that
the way you did was a good practical approach.

    Martin


Reply via email to