Some of the nodes imported using DSpace REST XML feed have wrong identifier value. This is the case in which feed item has two child elements with same name as "DC.identifier" in the metadata. For example
<meta name="DC.identifier" content="A/66/698 – S/2012/89" xml:lang="en_US" /><meta name="DC.identifier" content="http://arks.princeton.edu/ark:/88435/dsp01cf95jb49q" scheme="DCTERMS.URI" />. The correct identifier value should be "http://arks.princeton.edu/ark:/88435/dsp01cf95jb49q" but it is getting the identifier value as "(A/66/698 – S/2012/89)".

Comments

Jaspreet Longia’s picture

Status: Active » Needs review
StatusFileSize
new766 bytes

With this patch, I have fixed the xpath for the 'identifier', now it is pulling correct identifier element from the
DSpace REST XML feed.

humansky’s picture

Assigned: Unassigned » humansky
Status: Needs review » Patch (to be ported)
humansky’s picture

Status: Patch (to be ported) » Closed (fixed)
humansky’s picture

Issue summary: View changes

Added an example xml code.

Narensha’s picture

i am unable to fix the issue import feed someone please help me out...