def __init__(self, pname=None, itemType=None, **kw):
assert kw.get('<STR_LIT>',<NUM_LIT:1>) == <NUM_LIT:1>,'<STR_LIT>'<EOL>SimpleType.__init__(self, pname=pname, **kw)<EOL>self.itemType = itemType or self.itemType<EOL>self.itemTypeCode = self.itemType<EOL>itemTypeCode = None<EOL>if type(self.itemTypeCode) in _seqtypes:<EOL><INDENT>namespaceURI,name = self.itemTypeCode<EOL>try:<EOL><INDENT>itemTypeCode = GTD(*self.itemType)(None)<EOL><DEDENT>except:<EOL><INDENT>if _is_xsd_or_soap_ns(namespaceURI) is False:<EOL><INDENT>raise<EOL><DEDENT>for pyclass in TYPES:<EOL><INDENT>if pyclass.type == self.itemTypeCode:<EOL><INDENT>itemTypeCode =  pyclass(None)<EOL>break<EOL><DEDENT>elif pyclass.type[<NUM_LIT:1>] == name:<EOL><INDENT>itemTypeCode =  pyclass(None)<EOL><DEDENT><DEDENT>if itemTypeCode is None:<EOL><INDENT>raise EvaluateException('<STR_LIT>' %str(self.itemTypeCode))<EOL><DEDENT><DEDENT>if hasattr(itemTypeCode, '<STR_LIT>') is False:<EOL><INDENT>raise EvaluateException('<STR_LIT>' %itemTypeCode)<EOL><DEDENT>self.itemTypeCode = itemTypeCode<EOL><DEDENT>
Currently need to require maxOccurs=1, so list
        is interpreted as a single unit of data.