docs: def setUp(self, tp):
          '''tp -- complexType/simpleContent/[Exention,Restriction]
          '''
          self._item = tp
          
          assert tp.isComplex() is True and tp.content.isSimple() is True,\
              'expecting complexType/simpleContent not: %s' %tp.content.getItemTrace()
  
          simple = tp.content
          dv = simple.content
          assert dv.isExtension() is True or dv.isRestriction() is True,\
              'expecting complexType/simpleContent/[Extension,Restriction] not: %s' \
              %tp.content.getItemTrace()
  
          self.name = tp.getAttribute('name')
          self.ns = tp.getTargetNamespace()
          # TODO: Why is this being set?
          self.content.attributeContent = dv.getAttributeContent()
          
          base = dv.getAttribute('base')
          if base is not None:
              self.sKlass = BTI.get_typeclass( base[1], base[0] )
              if not self.sKlass:
                  self.sKlass,self.sKlassNS = base[1], base[0]
                  
              self.attrComponents = self._setAttributes(
                                        self.content.attributeContent
                                        )
              return
  
          raise Wsdl2PythonError,\
              'simple content derivation bad base attribute: ' %tp.getItemTrace()