Regarding multiple schemata I found an answer: It is not documented in 
the docs. But in ItemImport.java I found the way to use multiple schemata:

1.) Besides the dublin_core.xml every schema needs an own XML-file with 
the same syntax, named 'metadata_<namespace-shortcut>.xml'; e.g. 
'metadata_marc.xml'.
2.) Set the 'schema'-attribute of the <dublin_core>-tag accordingly; 
e.g. <dublin_core schema="marc">
3.) As far as I see should occur other tags then <dcvalue> only in 1 
XML-File (preferably dublin_core.xml, if any).

Attention: this is not tested - only derived from reading the code of 
ItemImport.java. I will report success or corrections.

Greetings

Robert

--------

Robert Roggenbuck schrieb:
> Thanks to Your and Blooma's fast responses.
> 
> (I cc it to the list, because I think it is for interest for more people.)
> 
> 
> Jayan Chirayath Kurian schrieb:
>> Hello Robert,
>>
>> I hope Blooma might have sent the source code as well documentation for
>> the above program. It's a stand alone application and once folders are
>> generated the dspace batch import facility is used to ingest items.
>> Currently program works on windows and we are trying with Linux
>> compatibility. 
> Indeed we run DSpace in a Linux environment (RedHat EL), but a WinXP box 
> is also available to work with Your tool. So there is no problem for us 
> at this point.
> 
>> I think adding more files won't be an issue although
>> current program works with a single file.
> I would suggest to allow multiple entries in the ResourceLocation-field, 
> separated by ';' for example.
> 
>> Regarding namespaces I hope
>> the program can be customized. 
> This is a crucial point for us, since we use several standardised 
> metadata sets in our old application. Only quite a few fields are plain 
> 'dc'.
> 
>> Please feel free to ask if you find
>> difficulty in installing the program. Once the default program works at
>> your side we can start customizing according to your requirements. 
> As far as I see the problem of multiple namespaces is not solvable by 
> Your tool. The question is weather the ItemImport can handle this. The 
> format documentation of the dublin_core.xml file shows no 'schema'- or 
> 'namespace'- attribute for the <dcvalue>-tags. Do You know more then the 
> documentation?
> 
>> By the way if your installation is Linux based please run the program on a
>> normal windows machine and transfer files to your dspace server and
>> issue the ItemImport batch import command.
>>
>> Current project progress
>> http://wiki.dspace.org/index.php/Google_Summer_of_Code_2008_Batch_Import
>>
>> Cheers! Jayan
>>


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to