fName = complexTypeName;
fComplexTypeDecl.setName(fName);
fTargetNamespace = schemaDoc.fTargetNamespace;
fBlock = blockAtt == null ? schemaDoc.fBlockDefault : blockAtt.shortValue();
fFinal = finalAtt == null ? schemaDoc.fFinalDefault : finalAtt.shortValue();
//discard valid Block/Final 'Default' values that are invalid for Block/Final
fBlock &= (XSConstants.DERIVATION_EXTENSION | XSConstants.DERIVATION_RESTRICTION);
fFinal &= (XSConstants.DERIVATION_EXTENSION | XSConstants.DERIVATION_RESTRICTION);
fIsAbstract = (abstractAtt != null && abstractAtt.booleanValue());