(self, schema, root)
| 513 | cls.locations[ns] = location |
| 514 | |
| 515 | def __init__(self, schema, root): |
| 516 | SchemaObject.__init__(self, schema, root) |
| 517 | self.ns = (None, root.get('namespace')) |
| 518 | self.location = root.get('schemaLocation') |
| 519 | if self.location is None: |
| 520 | self.location = self.locations.get(self.ns[1]) |
| 521 | self.opened = False |
| 522 | |
| 523 | def open(self, options): |
| 524 | """ |