def __init__(self, schema, root): SchemaObject.__init__(self, schema, root) self.ns = (None, root.get('namespace')) self.location = root.get('schemaLocation') if self.location is None: self.location = self.locations.get(self.ns[1]) self.opened = False
def merge(self, other): SchemaObject.merge(self, other) filter = Filter(False, self.rawchildren) self.prepend(self.rawchildren, other.rawchildren, filter)
def __init__(self, schema, root): SchemaObject.__init__(self, schema, root) self.ref = root.get('base')
def merge(self, other): SchemaObject.merge(self, other) self.rawchildren = other.rawchildren