Description
Currently the way XmlBeans makes annotations available can be confusing - for instance to get an annotation on an element instead of just calling something simple like:
MyElement.getAnnotation();
you have to do something like:
SchemaAnnotation ann = ((SchemaLocalElement) MyElement.type.getContentModel()).getAnnotation();
XmlBeans should review all places where annotations are available in the Schema spec and review and update how it makes them available.