users@jaxb.java.net

Re: Problem with a mixed content element type

From: Andreas Pakulat <pakulat_at_rostock.zgdv.de>
Date: Tue, 11 Apr 2006 12:15:41 +0200

Andreas Pakulat schrieb:
> Hi,
>
> suppose I have the following schema fragment:
>
> <xsd:complexType name="PropertyNameType">
> <xsd:complexContent mixed="true">
> <xsd:extension base="ogc:ExpressionType"/>
> </xsd:complexContent>
> </xsd:complexType>
>
> Where "ogc:ExpressionType" is just an abstract type.
>
> xjc generates a PropertyNameType without any getters/setters, the
> generated javadoc also doesn't mention the mixed="true" attribute
> anymore? It seems like it's ignored.
>
> I'm using JAXB 2.0 RC.

BTW: The same happens when I move the mixed attribute up to the complexType.

I'm now trying to get a CVS/nightly JAXB maybe this is a already-fixed bug?

Andreas