'Load the object by opening the URL'

def load(self, definitions):

    url = self.location
    log.debug('importing    (%s)', url)
    if ('://' not in url):
        url = urljoin(definitions.url, url)
    options = definitions.options
    d = Definitions(url, options)
    if d.root.match(Definitions.Tag, wsdlns):
        self.import_definitions(definitions, d)
        return
    if d.root.match(Schema.Tag, Namespace.xsdns):
        self.import_schema(definitions, d)
        return
    raise Exception(('document    at    "%s"    is    unknown' % url))
