From: <cm...@us...> - 2006-07-27 13:41:03
|
Revision: 1247 Author: cmoad Date: 2006-07-27 06:39:27 -0700 (Thu, 27 Jul 2006) ViewCVS: http://svn.sourceforge.net/pywebsvcs/?rev=1247&view=rev Log Message: ----------- generated code assumes pname is always first arg and AnyType had namespaces as the first arg. Modified Paths: -------------- trunk/zsi/ZSI/TC.py Modified: trunk/zsi/ZSI/TC.py =================================================================== --- trunk/zsi/ZSI/TC.py 2006-07-17 18:32:47 UTC (rev 1246) +++ trunk/zsi/ZSI/TC.py 2006-07-27 13:39:27 UTC (rev 1247) @@ -234,6 +234,8 @@ attrs_aname -- This is variable name to dictionary of attributes encoded -- encoded namespaceURI (specify if use is encoded) ''' + print 'TypeCode', pname + if type(pname) in _seqtypes: self.nspname, self.pname = pname else: @@ -1618,8 +1620,9 @@ type = (SCHEMA.XSD3, 'anyType') logger = _GetLogger('ZSI.TC.AnyType') - def __init__(self, namespaces=['#all'],pname=None, + def __init__(self, pname=None, namespaces=['#all'], minOccurs=1, maxOccurs=1, strip=1, **kw): + print 'AnyType', pname TypeCode.__init__(self, pname=pname, minOccurs=minOccurs, maxOccurs=maxOccurs, **kw) self.namespaces = namespaces This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |