From: <bov...@us...> - 2008-02-14 17:45:51
|
Revision: 1446 http://pywebsvcs.svn.sourceforge.net/pywebsvcs/?rev=1446&view=rev Author: boverhof Date: 2008-02-14 09:45:56 -0800 (Thu, 14 Feb 2008) Log Message: ----------- M ZSI/TC.py small nilled element patch for a few simple types that use SimpleHREF method of Typecode class. Reference From: re...@ho... Subject: RE: [Pywebsvcs-talk] Patch for TC.py Date: February 12, 2008 1:14:55 PM PST To: jrb...@lb... Cc: pyw...@li... Modified Paths: -------------- trunk/zsi/ZSI/TC.py Modified: trunk/zsi/ZSI/TC.py =================================================================== --- trunk/zsi/ZSI/TC.py 2008-01-29 15:58:58 UTC (rev 1445) +++ trunk/zsi/ZSI/TC.py 2008-02-14 17:45:56 UTC (rev 1446) @@ -151,7 +151,7 @@ if len(_children(elt)): return elt href = _find_href(elt) if not href: - if self.minOccurs is 0: return None + if self.minOccurs is 0 or self.nilled(elt, ps): return None raise EvaluateException('Required' + tag + ' missing', ps.Backtrace(elt)) return ps.FindLocalHREF(href, elt, 0) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |