forked from DSpace/xoai
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #192 from gdcc/188-copyelement-utf8
Ensure CopyElement does not break UTF-8 characters
- Loading branch information
Showing
3 changed files
with
164 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
xoai-common/src/test/resources/188-copy-element-multibyte.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<oai_dc:dc xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd"><dc:title>Impact of micronutrients on upland rice yield, Nicaragua</dc:title><dc:identifier>https://doi.org/10.7910/DVN/IBDWAV</dc:identifier><dc:creator>Siles, Pablo</dc:creator><dc:creator>Tellez, Orlando</dc:creator><dc:creator>Peng, Yuan-Ching</dc:creator><dc:creator>Zeledón, Yasser</dc:creator><dc:publisher>Harvard Dataverse</dc:publisher><dc:description>This dataset contains information of experiments carried out upland rice in two regions of Nicaragua (Caribbean and Pacific Region), as well as a compilation of soils data from different regions in Nicaragua collected from 2015 to 2019. The experiments were designed to explore the effects of micronutrients in the yield of upland rice. The experiments were carried out on farmer’s field during the 2018 production cycle, the dataset contains yield and aerial biomass of the experiments.</dc:description><dc:subject>Agricultural Sciences</dc:subject><dc:subject>Earth and Environmental Sciences</dc:subject><dc:subject>Upland rice</dc:subject><dc:subject>Micronutrients</dc:subject><dc:subject>Crop yield</dc:subject><dc:subject>Zinc</dc:subject><dc:subject>Boron</dc:subject><dc:subject>Latin America and the Caribbean</dc:subject><dc:subject>Multifunctional Landscapes</dc:subject><dc:language>Spanish, Castilian</dc:language><dc:date>2019-02</dc:date><dc:contributor>Garcia, Carolina</dc:contributor><dc:type>Experimental Data</dc:type><dc:type>Environmental Data</dc:type></oai_dc:dc> | ||
|
||
<!-- | ||
This data came from the original, unfixed https://dataverse.harvard.edu/api/datasets/export?exporter=oai_dc&persistentId=doi%3A10.7910/DVN/IBDWAV, | ||
and included in the OAI-PMH response at https://dataverse.harvard.edu/oai?verb=GetRecord&identifier=doi:10.7910/DVN/IBDWAV&metadataPrefix=oai_dc | ||
as referenced from https://github.com/gdcc/xoai/issues/188. Stored here as reproducer / test data. | ||
--> |