private AttributeSG[] initAttributes(ComplexTypeSG pController) throws SAXException {
XSAttributable[] xsAttributes = xsType.getComplexType().getAttributes();
List attributeList = new ArrayList();
for (int i = 0; i < xsAttributes.length; i++) {
AttributeSGChain attrChain;
if (xsAttributes[i] instanceof XSAttribute) {
XSAttribute attr = (XSAttribute) xsAttributes[i];
attrChain = (AttributeSGChain) pController.newAttributeSG(attr);
} else if (xsAttributes[i] instanceof XSWildcard) {
boolean isSupportingExtensions = false;