Browse Source

M XMLSchema.py

[ 1538225 ] KeyError on schema with includes
main
Joshua Boverhof 18 years ago
parent
commit
d1cb8143b5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      XMLSchema.py

+ 1
- 1
XMLSchema.py View File

@@ -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.


Loading…
Cancel
Save