users@jaxb.java.net

Re: Default attribute values on derived complex type (JAXB v.1.0.1)

From: Thomas Plümpe <thomanski_at_gmx.de>
Date: Tue, 01 Jul 2003 10:13:43 +0200

Hi Gary,

> I'd like the JAXB object to give me "Intel" and "little" for the
> attributes, it gives me nulls. I am stuck.
I've had a similar problem, the reason for which was that JAXB does not
implement the inheritance of attributes when restricting a type,
although it should.

I guess for know you will have to redefine the attributes (+ default
values) on the restricted types.

Thomas