There is a small problem with DSpacePlugin in Greenstone 2: It use
metadata value from dublin_core.xml as-is, which mean it pass some
non-valid data into Greenstone. For example, if some data contains
"[word]", the "[word]" will be treated as macro crash Greenstone in some
case and just disappear in the other.
I found that List (GenericList) have most problem with these metadata.
If I use List to classify metadata with "[...]" value, it will always
crash Greenstone Server. Other classifier like SimpleList seem to handle
this better. The value just disappear.
The attached patch for Greenstone 2.83 add a simple escape to
DSpacePlugin.pm to correct this.
In addition, the patch also change the way the plugin handle
dc.description metadata from DSpace. Orginally, the plugin will just
drop all dc.description. Since DSpace use only dc.description.provenance
for its generated data and there are other useful qualified
dc.description (e.g. dc.description.tableofcontents), the plugin should
drop only dc.description.provenance used by DSpace.
Asian Institute of Technology
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1553 bytes
Desc: not available
Url : https://list.scms.waikato.ac.nz/mailman/private/greenstone-devel/attachments/20091124/b83905d1/DSpacePlugin.bin