[Dspace-tech] Non-DC Import
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 scott.ren...@ed.ac.uk -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 scott.ren...@ed.ac.uk -- 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 DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Non-DC Import
Hi. I don't think that the patch in DS-257 has been included with any version of DSpace yet. You'd have to apply the patch manually and re-deploy in order to use that feature. You can still import metadata for your cld schema, though, by following the instructions in the What if I need to import metadata in a schema other than Dublin Core? question in the Batch Importing FAQ section of this document: www.tdl.org/files/DSpaceBatchImportFormat.pdf Basically, you'll create a file similar to the typical dublin_core.xml file, but it will be named metadata_cld.xml instead, and the dublin_core element will appear as dublin_core schema=cld. You may still need to create a dublin_core.xml file with the metadata for the dc schema - I'm unclear on whether it's always required. If you try this method and still have problems, you can send files for a sample item to me, along with the output from the stack trace of your exception, and I'll try it over here. --keith - Original Message - From: RENTON Scott scott.ren...@ed.ac.uk To: dspace-tech@lists.sourceforge.net Sent: Monday, April 5, 2010 7:21:38 AM GMT -05:00 US/Canada Eastern Subject: [Dspace-tech] Non-DC Import t 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 scott.ren...@ed.ac.uk -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 scott.ren...@ed.ac.uk -- 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 DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- 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 DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Non-DC Import
I just finished up learning about batch imports by trial and error and I believe you do have to include the dublin_core.xml file during batch imports for it to work. Matthew Zimmerman Manager Digital Services and Technology Planning UT Southwestern Medical Center Library Tel: 214-648-4873 matthew.zimmer...@utsouthwestern.edu www.utsouthwestern.edu/library keith.gilbert...@library.gatech.edu 4/5/2010 9:34 AM Hi. I don't think that the patch in DS-257 has been included with any version of DSpace yet. You'd have to apply the patch manually and re-deploy in order to use that feature. You can still import metadata for your cld schema, though, by following the instructions in the What if I need to import metadata in a schema other than Dublin Core? question in the Batch Importing FAQ section of this document: www.tdl.org/files/DSpaceBatchImportFormat.pdf Basically, you'll create a file similar to the typical dublin_core.xml file, but it will be named metadata_cld.xml instead, and the dublin_core element will appear as dublin_core schema=cld. You may still need to create a dublin_core.xml file with the metadata for the dc schema - I'm unclear on whether it's always required. If you try this method and still have problems, you can send files for a sample item to me, along with the output from the stack trace of your exception, and I'll try it over here. --keith - Original Message - From: RENTON Scott scott.ren...@ed.ac.uk To: dspace-tech@lists.sourceforge.net Sent: Monday, April 5, 2010 7:21:38 AM GMT -05:00 US/Canada Eastern Subject: [Dspace-tech] Non-DC Import t 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 scott.ren...@ed.ac.uk -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 scott.ren...@ed.ac.uk -- 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 DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- 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 DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech BEGIN:VCARD VERSION:2.1 X-GWTYPE:USER FN:Matthew Zimmerman TEL;WORK:214-648-4873 ORG:;Library TEL;PREF;FAX:214-648-9202 EMAIL;WORK;PREF:matthew.zimmer...@utsouthwestern.edu N:Zimmerman;Matthew TITLE:Mgr, Lib Digital Svcs and Tech ADR;DOM;WORK;PARCEL;POSTAL:;E04.324 LABEL;DOM;WORK;PARCEL;POSTAL;ENCODING=QUOTED-PRINTABLE:Matthew Zimmerman=0A= E04.324 END:VCARD -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications
Re: [Dspace-tech] Non-DC Import
Yes, according to a similar thread named Non-DC import you will also need to create a file called dublin_core.xml. Cheers Hayden On 05/04/10 23:14, Matthew Zimmerman wrote: I just finished up learning about batch imports by trial and error and I believe you do have to include the dublin_core.xml file during batch imports for it to work. Matthew Zimmerman Manager Digital Services and Technology Planning UT Southwestern Medical Center Library Tel: 214-648-4873 matthew.zimmer...@utsouthwestern.edu mailto:matthew.zimmer...@utsouthwestern.edu www.utsouthwestern.edu/library http://www.utsouthwestern.edu/library keith.gilbert...@library.gatech.edu 4/5/2010 9:34 AM Hi. I don't think that the patch in DS-257 has been included with any version of DSpace yet. You'd have to apply the patch manually and re-deploy in order to use that feature. You can still import metadata for your cld schema, though, by following the instructions in the What if I need to import metadata in a schema other than Dublin Core? question in the Batch Importing FAQ section of this document: www.tdl.org/files/DSpaceBatchImportFormat.pdf Basically, you'll create a file similar to the typical dublin_core.xml file, but it will be named metadata_cld.xml instead, and the dublin_core element will appear as dublin_core schema=cld. You may still need to create a dublin_core.xml file with the metadata for the dc schema - I'm unclear on whether it's always required. If you try this method and still have problems, you can send files for a sample item to me, along with the output from the stack trace of your exception, and I'll try it over here. --keith - Original Message - From: RENTON Scott scott.ren...@ed.ac.uk To: dspace-tech@lists.sourceforge.net Sent: Monday, April 5, 2010 7:21:38 AM GMT -05:00 US/Canada Eastern Subject: [Dspace-tech] Non-DC Import t 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 scott.ren...@ed.ac.uk -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 scott.ren...@ed.ac.uk -- 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 DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- 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 DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- 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