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

Reply via email to