if (pAttributes.length == 0) {
result.setType(qName);
attrDecls = null;
} else {
XsTComplexType complexType = result.createComplexType();
XsEComplexContent complexContent = complexType.createComplexContent();
XsTExtensionType extensionType = complexContent.createExtension();
extensionType.setBase(qName);
attrDecls = extensionType;
}
} else if (pModel.startsWith("(")) {
String pcData = pModel.substring(1).trim();