Hi Isabel,

I think the issue you are running into is a by-product of the fact that 
DSpace does NOT inherently "understand" METS.

When you ingest METS into DSpace, DSpace will parse the METS file and 
attempt to translate it into Dublin Core metadata along with basic 
Database relationships.

Unfortunately, when that same information is exported back to METS via 
OAI-PMH, it looks like we currently do not regenerate a <structMap> from 
the database relationships by default. This happens because, by default, 
the OAI-PMH interfaces uses the 
"org.dspace.content.packager.DSpaceMETSDisseminator" which just 
generates a very simplistic METS file (without a <structMap>).

If you are using DSpace 1.7.x or above, you might be able to tell the 
OAI-PMH interface to instead use the 
"org.dspace.content.packager.DSpaceAIPDisseminator" class which 
generates a more complex METS file (which does include a basic 
<structMap>, which just points at the parent object).  This AIP format 
is described at:
https://wiki.duraspace.org/display/DSDOC18/DSpace+AIP+Format

(Again, this format is only supported in DSpace 1.7.x or above)

I will warn though that I've *NEVER* tried this, but it looks like you 
can change your dspace.cfg file to tell the OAI-PMH interface to instead 
use the DSpaceAIPDisseminator by redefining the "METS" plugin to point 
at the DSpaceAIPDisseminator (WARNING: DO NOT TRY THIS ON PRODUCTION 
UNTIL YOU HAVE TESTED IT THOROUGHLY ON ANOTHER SERVER. I'm not sure if 
this will affect other areas of DSpace.)

Change The following in your dspace.cfg (NOTE the repetition 
"DSpaceAIPDisseminator" and "DSpaceAIPIngester" as it is defined as both 
the "AIP" and "METS" packagers.)

plugin.named.org.dspace.content.packager.PackageDisseminator = \
   org.dspace.content.packager.DSpaceAIPDisseminator = AIP, \
   org.dspace.content.packager.DSpaceAIPDisseminator = METS, \
   org.dspace.content.packager.RoleDisseminator = DSPACE-ROLES

plugin.named.org.dspace.content.packager.PackageIngester = \
   org.dspace.content.packager.DSpaceAIPIngester = AIP, \
   org.dspace.content.packager.PDFPackager  = Adobe PDF, PDF, \
   org.dspace.content.packager.DSpaceAIPIngester = METS, \
   org.dspace.content.packager.RoleIngester = DSPACE-ROLES

However, as I warned, I'm not sure if the above change will affect other 
areas of DSpace which attempt to use the "METS" packager configured in 
dspace.cfg.  So, it would also be possible to programmatically change 
the org.dspace.content.packager.DSpaceMETSDisseminator code so that it 
adds the <structMap> that you want -- you could do this in any version 
of DSpace.

Good Luck,

- Tim

On 4/27/2012 1:46 AM, Bordes Cabrera, Isabel wrote:
> Dear colleagues,
>
> We’re looking into DSpace functionalities and we are facing troubles in
> relation to the ingest METS files.
>
> Although we’ve succeeded in importing METS files into DSpace, we have a
> key issue to solve: we’re missing the key structural information
> included in the METS’ StructMap Section. That is to say that although in
> the METS files we can distinguish which of the files is the parent, and
> which the children, once METS is in DSpace we cannot get such
> information when extracting OAI from DSpace.
>
> Has anyone of you experienced similar issue; if so, have you been able
> to solve it?
>
> Any hints, suggestions would be more than welcome.
>
> Many thanks in advance,
>
> Best regards,
>
> Isabel Bordes
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
>
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to