response = urllib.request.urlopen(request)
body = response.read()
parser = etree.XMLParser(schema=oaischema)
response_doc = etree.fromstring(body, parser)
How to validate XML with multiple namespaces in Python?