Currently annotations are obtained via the SchemaAnnotated API. However, not all places that can contain annotations in XmlSchema are covered. Examples:
- SchemaParticle doesn't implement SchemaAnnotated and so annotations on <sequence>, <choice> and <all> groups are not accessible
- simple type facets are accessible using the XmlAnySimpleType representing their value, so there is no place for the annotation in this case.
These shortages need to be addressed.