Hi folks,

I'm having a shot at loading the generic metadata file (as opposed to 
dublin_core.xml) through import. First question- can this be done on 1.5.2, or 
must I upgrade before it becomes an option?

(If it's possible, I've followed patch DS-257's instructions:

File (metadata.xml):
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
  <metadatavalue schema = "cld" element = "custodialHistory" qualifier = "none" 
> the whole wide world</metadatavalue>
  <metadatavalue schema = "cld" element = "contentsDateRange" qualifier = 
"none" > 1985-2002</metadatavalue>
  <metadatavalue schema = "cld" element = "hasAssociation" qualifier = "none" > 
Page 220</metadatavalue>
  <metadatavalue schema = "cld" element = "hasPublication" qualifier = "none" > 
UCS</metadatavalue>
  <metadatavalue schema = "cld" element = "accessControl" qualifier = "none" > 
us</metadatavalue>
  <metadatavalue schema = "cld" element = "objectName" qualifier = "none" > 
books</metadatavalue>
 </metadata>

Command:
/u01/isdocs/dspace/bin/dsrun org.dspace.app.itemimport.ItemImport -a -e 
[email protected] -c 123456789/18 -s 
/u01/isdocs/dspace/carmichaelwatson/cw_dspace_test_non-dc -m mapfile.txt -l 
--resume

Output:
java.io.FileNotFoundException: 
/u01/isdocs/dspace/carmichaelwatson/cw_dspace_test_non-dc/0002789d/dublin_core.xml
 (No such file or directory)

(if I change the name back to dublin_core.xml, I get a NullPointerException).)

If I need to upgrade, I will do so; if I'm getting the syntax wrong though, 
please let me know!!

Cheers
Scott


Scott Renton
MIMS Project Officer
Digital Library Development
University Of Edinburgh
2 Buccleuch Place
Edinburgh
EH8 9LW

0131 651 5219

[email protected] 
-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to