lib/xsd_model/elements/include.rb in xsd_model-0.6.0 vs lib/xsd_model/elements/include.rb in xsd_model-0.7.0

- old
+ new

@@ -8,10 +8,12 @@ attribute_method 'schemaLocation' def load(options = {}) xml_string = File.read(schema_location) - XsdModel.parse(xml_string, options).schema + schema = XsdModel.parse(xml_string, options).schema + schema.source = schema_location + schema end end end end