if (xmlSchemaType == null) {
xmlSchemaType = _accessor.getPackageAnnotation(XmlSchemaType.class);
if (xmlSchemaType != null) {
if (XmlSchemaType.DEFAULT.class.equals(xmlSchemaType.type()))
throw new JAXBException(L.l("@XmlSchemaType with name {0} on package {1} does not specify type", xmlSchemaType.name(), _accessor.getPackage().getName()));
if (! _accessor.getType().equals(xmlSchemaType.type()))
xmlSchemaType = null;
}