I expect to find an annotation for my athlete element but the value is
"null". Here is the element declaration:
<element name="athlete" type="data:athlete" maxOccurs="unbounded"
minOccurs="1">
<annotation>
<documentation>
An athlete must have a valid person description and a sport list
containing at least one sport.
</documentation>
</annotation>
</element>
Here is my code to get the annotation:
SchemaAnnotation annotation = athlete.schemaType().getAnnotation();
Seems simple enough. What am I missing?
Thanks
Eric