Skip to content

Commit

Permalink
Merge pull request #7132 from JingMa87/7128-fix-ddi-export-source-att…
Browse files Browse the repository at this point in the history
…ribute

7128 Change the source value from DVN to archive.
  • Loading branch information
kcondon authored Jul 30, 2020
2 parents 1ad8647 + 9bb8289 commit a6f580f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ private static void writeDocDescElement (XMLStreamWriter xmlw, DatasetDTO datase

private static void writeVersionStatement(XMLStreamWriter xmlw, DatasetVersionDTO datasetVersionDTO) throws XMLStreamException{
xmlw.writeStartElement("verStmt");
writeAttribute(xmlw,"source","DVN");
writeAttribute(xmlw,"source","archive");
xmlw.writeStartElement("version");
writeAttribute(xmlw,"date", datasetVersionDTO.getReleaseTime().substring(0, 10));
writeAttribute(xmlw,"type", datasetVersionDTO.getVersionState().toString());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<IDNo agency="DOI">doi:10.5072/FK2/PCA2E3</IDNo>
</titlStmt>
<distStmt/>
<verStmt source="DVN">
<verStmt source="archive">
<version date="2015-09-24" type="RELEASED">1</version>
</verStmt>
<biblCit>Finch, Fiona, 2015, "Darwin's Finches", https://doi.org/10.5072/FK2/PCA2E3, Root Dataverse, V1</biblCit>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<distrbtr source="archive">Root</distrbtr>
<distDate>2020-02-19</distDate>
</distStmt>
<verStmt source="DVN">
<verStmt source="archive">
<version date="2020-02-19" type="RELEASED">1</version>
</verStmt>
<biblCit>LastAuthor1, FirstAuthor1; LastAuthor2, FirstAuthor2, 2020, "Replication Data for: Title", https://doi.org/10.5072/FK2/WKUKGV, Root, V1</biblCit>
Expand Down

0 comments on commit a6f580f

Please sign in to comment.