Modified Files:
XMLSchema.py -- there was a indexing logic error in Restriction/Extention
classes fromDom method. Also changed the attribute dictionary of all
classes that inherit XMLSchemaComponent, now all attributes
are organized by namespace.
----------------------------------------------------------------------
Modified Files:
XMLSchema.py --
Wasn't resolving schema imports in every scenario.
Now look in parent schema imported_schemas first, second look
in the parent wsdl, lastly try to resolve schemaLocation.
Removed 'what' parameter from marker interface methods, I don't
know what it was doing there. Check self.
----------------------------------------------------------------------
Modified Files:
XMLSchema.py -- changed getQNameAttribute to return None if it
can't find QName obj in it's own tns or in any of its
imported namespaces. Used to throw an exception.
----------------------------------------------------------------------
Modified Files:
XMLSchema.py -- fixed some default attribute handling, added a
few get methods in XMLSchema for elementFormDefault,
attributeFormDefault, blockDefault, finalDefault. Also
added a global method GetSchema. Now default attributes
are set correctly in all schema components.
----------------------------------------------------------------------
Modified Files:
Utility.py -- Added a parameter to Collection class constructor,
'name' is the default attribute used for keys but one
can specify whatever key they want.
XMLSchema.py -- Used the above parameter to make Collection
instances use the appropriate 'attribute' as key.
----------------------------------------------------------------------
WSDLTools.py -- just a few minor changes so the new schema class
will be used instead of the schema tns placeholder.
Might want to add an argument to WSDL.load method so that
programmer can specify the placeholder or actual
implementation.
XMLSchema.py -- mostly new, unused original code is commented out at the bottom.
XMLSchema.py
----------------------------------------------------------------------
fixed an obvious bug, added a SchemaError class so it can actually
be thrown.
----------------------------------------------------------------------