We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d66caca commit 0931b78Copy full SHA for 0931b78
1 file changed
ext/libxml/ruby_xml_schema.c
@@ -137,7 +137,7 @@ VALUE rxml_wrap_schema(xmlSchemaPtr xschema)
137
rb_iv_set(result, "@target_namespace", QNIL_OR_STRING(xschema->targetNamespace));
138
rb_iv_set(result, "@name", QNIL_OR_STRING(xschema->name));
139
rb_iv_set(result, "@id", QNIL_OR_STRING(xschema->id));
140
- rb_iv_set(result, "@version", QNIL_OR_STRING(xschema->name));
+ rb_iv_set(result, "@version", QNIL_OR_STRING(xschema->version));
141
142
return result;
143
}
0 commit comments