Browse Source

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

Modified Files:
 	XMLSchema.py -- fixed two places where 'readFromURL' was supposed
		to be loadFromURL.

----------------------------------------------------------------------
main
Joshua Boverhof 21 years ago
parent
commit
09b7214c7d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      XMLSchema.py

+ 2
- 2
XMLSchema.py View File

@@ -1053,7 +1053,7 @@ class XMLSchema(XMLSchemaComponent):
reader = SchemaReader()
reader._imports = self._parent().getImportSchemas()
reader._includes = self._parent().getIncludeSchemas()
self._schema = reader.readFromUrl(url)
self._schema = reader.loadFromURL(url)
self._schema.setBaseUrl(url)
return self._schema or schema

@@ -1105,7 +1105,7 @@ class XMLSchema(XMLSchemaComponent):
reader = SchemaReader()
reader._imports = schema.getImportSchemas()
reader._includes = schema.getIncludeSchemas()
self._schema = reader.readFromUrl(url)
self._schema = reader.loadFromURL(url)
self._schema.setBaseUrl(url)
return self._schema



Loading…
Cancel
Save