Hi Gary,
> > JAXB does not implement the inheritance of attributes when
> restricting a type, although it should.
>
> Does it say that in the specs? I did not find it. It sure says that
> substitution groups are not supported... :-(
it's here:
http://www.w3.org/2001/05/xmlschema-errata#e0-21
> > I guess for know you will have to redefine the attributes (+ default
> values) on the restricted types.
>
> I thought I did that: [...]
Yes, you did - sloppy reading on my part.
> Are you saying: do not use XSD-style "inheritance", do not define the
> attributes in the supertype?
No, I believe it should work the way you've done it. Looks like a
different (though possibly related) bug.
Thomas