Browse Source

M XMLSchema.py

-- fix for bug report "[ 2586279 ] annotation IndexError"
main
Joshua Boverhof 16 years ago
parent
commit
4b8c6b3485
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      XMLSchema.py

+ 2
- 1
XMLSchema.py View File

@@ -2471,7 +2471,8 @@ class ComplexType(XMLSchemaComponent,\
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':


Loading…
Cancel
Save