Schema annotations on <choice>, (<sequence> and <all>) is not implemented.
Schema annotations on the <extension> and <restriction> elements are not supposed to be accessible as far as I understand the specification, because annotations are accessed via the component, and there is no "extension" or "restriction" component in Schemas. One could sort of merge them with the annotation of the type, but again I don't see any hint in the specification that that's what's expected. Radu On Mon, 2009-05-25 at 10:56 +0200, Hildegunde Weinzierl wrote: > > Hi, > > how can I get the annotation of a choice? > > Example: > > <xsd:choice minOccurs="0" maxOccurs="1"> > <xsd:annotation> > <xsd:appinfo> > ... <- this annotation I want > to get! > </xsd:appinfo> > </xsd:annotation> > <xsd:element name="element1" minOccurs="1" maxOccurs="1"> > <xsd:annotation> > <xsd:appinfo> > ... > </xsd:appinfo> > </xsd:annotation> > </xsd:element> > ... > </xsd:choice> > > Best regards > > Hildegunde Weinzierl --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

