|
From: <bov...@us...> - 2009-02-10 20:06:04
|
Revision: 1481
http://pywebsvcs.svn.sourceforge.net/pywebsvcs/?rev=1481&view=rev
Author: boverhof
Date: 2009-02-10 20:05:51 +0000 (Tue, 10 Feb 2009)
Log Message:
-----------
M XMLSchema.py
-- fix for bug report "[ 2586279 ] annotation IndexError"
Modified Paths:
--------------
trunk/wstools/XMLSchema.py
Modified: trunk/wstools/XMLSchema.py
===================================================================
--- trunk/wstools/XMLSchema.py 2009-01-07 20:47:37 UTC (rev 1480)
+++ trunk/wstools/XMLSchema.py 2009-02-10 20:05:51 UTC (rev 1481)
@@ -2471,7 +2471,8 @@
self.annotation = Annotation(self)
self.annotation.fromDom(contents[indx])
indx += 1
- component = SplitQName(contents[indx].getTagName())[1]
+ if indx < num:
+ component = SplitQName(contents[indx].getTagName())[1]
self.content = None
if component == 'simpleContent':
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|