diff --git a/app/models/concerns/crosscitable.rb b/app/models/concerns/crosscitable.rb index 6b53bb8b8..4f08ebeb1 100644 --- a/app/models/concerns/crosscitable.rb +++ b/app/models/concerns/crosscitable.rb @@ -131,8 +131,10 @@ def update_xml {} end + # this line is changing the schema 3 to schema 4 xml = datacite_xml + write_attribute(:schema_version, "http://datacite.org/schema/kernel-4") write_attribute(:xml, xml) end