diff --git a/XMLSchema.py b/XMLSchema.py index 232933c..c2e3f2b 100755 --- a/XMLSchema.py +++ b/XMLSchema.py @@ -559,7 +559,8 @@ class XMLSchemaComponent(XMLBase, MarkerInterface): else: raise SchemaError, 'attribute %s declared multiple times' %value - self.__checkAttributes() + if not isinstance(self, WSDLToolsAdapter): + self.__checkAttributes() self.__setAttributeDefaults() #set QNames