String xsPrefix = null;
SchemaField containerField = schemaType.getContainerField();
if (containerField instanceof SchemaLocalElement) {
SchemaAnnotation annotation = ((SchemaLocalElement) containerField).getAnnotation();
if (annotation != null) {
XmlObject[] userInformation = annotation.getUserInformation();
if (userInformation != null && userInformation.length > 0) {
XmlObject xmlObject = userInformation[0];
XmlCursor cursor = xmlObject.newCursor();
xsPrefix = cursor.prefixForNamespace("http://www.w3.org/2001/XMLSchema");
cursor.dispose();