[graph cleaning] improved instance type defaults #172

Merged
claudio.atzori merged 2 commits from graph_cleaning into beta 2021-12-09 16:47:07 +01:00
2 changed files with 12 additions and 1 deletions
Showing only changes of commit eb43eda42a - Show all commits

View File

@ -1212,6 +1212,17 @@ public class XmlRecordFactory implements Serializable {
"processingchargecurrency", instance.getProcessingchargecurrency()));
}
if (instance.getLicense() != null) {
fields
.addAll(
instance
.getLicense()
.stream()
.filter(d -> isNotBlank(d))
.map(d -> XmlSerializationUtils.asXmlElement("license", d))
.collect(Collectors.toList()));
}
children
.add(
templateFactory

View File

@ -541,7 +541,7 @@
},
"trust": ""
},
"value": ""
"value": "CC-BY"
},
"url": [
"http://dx.doi.org/10.1109/TED.2018.2853550"