lib/bolognese/datacite_utils.rb in bolognese-1.6.3 vs lib/bolognese/datacite_utils.rb in bolognese-1.6.4

- old
+ new

@@ -230,10 +230,16 @@ r = {} r["rights"] = rights r["rightsUri"] = normalize_id(rights) end - attributes = { 'rightsURI' => r["rightsUri"], 'xml:lang' => r["lang"] }.compact + attributes = { + "rightsURI" => r["rightsUri"], + "rightsIdentifier" => r["rightsIdentifier"], + "rightsIdentifierScheme" => r["rightsIdentifierScheme"], + "schemeURI" => r["schemeUri"], + "xml:lang" => r["lang"] + }.compact xml.rights(r["rights"], attributes) end end end