Re: [greenstone-users] loading GSDL to DSpace

From Katherine Don
DateTue, 15 Aug 2006 16:08:04 +1200
Subject Re: [greenstone-users] loading GSDL to DSpace
In-Reply-To (200608071349-k77DnPlY007224-defang9-net-ohio-state-edu)
Hi Mary

If you delete this line from the dublin_core.xml file, does the import
work ok?
If the only problem is the coverage metadata, then you can remove it
from the output. edit perllib/doc.pm, look for $dc_set and remove the
Coverage item from the list.
Then look for the line
my $dc_element = $1;
in method buffer_dc_section.
add the following line directly after this:
next if $dc_element =~ /coverage/;

And re-export the collection.
Does it work now?

Regards,
Katherine

mary manning wrote:
> Hi-
>
> When we attempted to load a GSDL collection into DSpace, we got this error:
>
> The load of this data set into dspace2 fails with the following error:
>
> java.sql.SQLException: bad_dublin_core coverage null
>
>
>
> The offending line of xml appears to be:
>
> <dcvalue element="coverage">us</dcvalue>
>
>
>
>
>
> Any suggestions for how to fix this?
>
>
>
> Thanks, Mary
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users