Browse Source

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

Modified Files:
 	WSDLTools.py
        -- removed a line that was screwing up imports/includes of
        when WSDL file was specified to "wsdl2py" via a relative path.

        XMLSchema.py
        -- stop requiring suffix "xsd" for schema files.

 ----------------------------------------------------------------------
main
Joshua Boverhof 20 years ago
parent
commit
669fbb20da
2 changed files with 0 additions and 3 deletions
  1. +0
    -1
      WSDLTools.py
  2. +0
    -2
      XMLSchema.py

+ 0
- 1
WSDLTools.py View File

@@ -306,7 +306,6 @@ class WSDL:
location = urllib.basejoin(base_location, location)
element.setAttributeNS(None, 'location', location)

location = urllib.basejoin(self.location, location)
obimport = self.addImport(namespace, location)
obimport._loaded = 1



+ 0
- 2
XMLSchema.py View File

@@ -105,8 +105,6 @@ class SchemaReader:
"""Return an XMLSchema instance loaded from the given url.
url -- URL to dereference
"""
if not url.endswith('xsd'):
raise SchemaError, 'unknown file type %s' %url
reader = self.__readerClass()
if self.__base_url:
url = urllib.basejoin(self.__base_url,url)


Loading…
Cancel
Save