On 17.04.06 16:47:36, Kohsuke Kawaguchi wrote:
> Andreas Pakulat wrote:
> >Andreas Pakulat schrieb:
> >>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?
> >No luck with that, I opened a defect (#146) for this problem.
>
> This really doesn't work because the base classes have already been generated
> in such a way that it can't take mixed contents.
So what you're saying here is that JAXB cannot correctly handle the
above xml schema?
Andreas
--
Lady Luck brings added income today. Lady friend takes it away tonight.