From d1cb8143b52e96ae811eed45e47974a9dbbba0fb Mon Sep 17 00:00:00 2001 From: Joshua Boverhof Date: Thu, 25 Jan 2007 01:21:51 +0000 Subject: [PATCH] M XMLSchema.py [ 1538225 ] KeyError on schema with includes --- XMLSchema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XMLSchema.py b/XMLSchema.py index 7d9b121..af5500f 100755 --- a/XMLSchema.py +++ b/XMLSchema.py @@ -78,7 +78,7 @@ class SchemaReader: """ for schemaLocation, val in schema.includes.items(): if self._includes.has_key(schemaLocation): - schema.addIncludeSchema(self._imports[schemaLocation]) + schema.addIncludeSchema(schemaLocation, self._imports[schemaLocation]) def addSchemaByLocation(self, location, schema): """provide reader with schema document for a location.