If you raise a 'bug report' at http://jira.codehaus.org/browse/CASTOR and attach all relevant files for me to be able to replay this, I'd be more than willing to look at this.
Regards Wenrer > -----Ursprüngliche Nachricht----- > Von: Oliver Fourman [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 05. März 2007 10:48 > An: dev@castor.codehaus.org > Betreff: [castor-dev] Castor Schema API: Bug in Annotation processing? > > Hi, > > I figured out a problem in processing more than one documentation in an > annotation section: > Following example: > > Annotation currentSchemaAnnotation = new Annotation(); > for(int i=1; i<=3; i++) { > Documentation doc = new Documentation(); > doc.setSource("INFO "+i); > currentSchemaAnnotation.addDocumentation(doc); > } > this.schema.addAnnotation(currentSchemaAnnotation); > > _Result:_ > <xsd:annotation> > <xsd:documentation source="INFO 1"/> > <xsd:documentation source="INFO 1"/> > <xsd:documentation source="INFO 1"/> > </xsd:annotation> > > I seems that the SchemaWriter has problems to write all the registered > Documentation objects. Only the first Document Source is used in every > Documentation line :-( > > Help would be appreciated, > Oliver > > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email