Browse Source

----------------------------------------------------------------------

Modified Files:
 	XMLSchema.py -- attribute declarations were going into wrong collection.

 ----------------------------------------------------------------------
main
Joshua Boverhof 21 years ago
parent
commit
112bccb178
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      XMLSchema.py

+ 2
- 2
XMLSchema.py View File

@@ -945,11 +945,11 @@ class XMLSchema(XMLSchemaComponent):
if component == 'attribute':
tp = AttributeDeclaration(self)
tp.fromDom(node)
self.types[tp.getAttribute('name')] = tp
self.attr_decl[tp.getAttribute('name')] = tp
elif component == 'attributeGroup':
tp = AttributeGroupDefinition(self)
tp.fromDom(node)
self.types[tp.getAttribute('name')] = tp
self.attr_groups[tp.getAttribute('name')] = tp
elif component == 'complexType':
tp = ComplexType(self)
tp.fromDom(node)


Loading…
Cancel
Save