Character.isWhitespace(type.charAt("NOTATION".length()))) {
qName = XSNotation.getInstance().getName();
} else {
qName = XSNMToken.getInstance().getName();
}
XsTLocalSimpleType simpleType = attr.createSimpleType();
XsERestriction restriction = simpleType.createRestriction();
restriction.setBase(new XsQName(qName.getNamespaceURI(), qName.getLocalName(), "xs"));
if (type.startsWith("(")) {
type = type.substring(1).trim();
} else {
throw new SAXParseException("The enumeration in the type of attribute "