[Dspace-tech] LNI on DSpace

2008-07-28 Thread Luis Saraiva

Hello i'm using LNI Simple Client application in order to submit items from a 
DSpace SIP to to dspace repository.
While building a MODS file in order to submit some Metadata to the item, i have 
found an error. My mets/mods file: String xml = "" +"" +
"" +
"" +"" 
+"" +  
  "" +  
  "asdasd" + //titulo  
  "" + 
   "" +
"Dr." +
"Brown, B. F." + 
   "Chemistry Dept., American 
University" +
"" +"creator" +  
  "cre" +
"" +
"" +"author" +   
 "aut" + 
   "" +
"" +"" +   
 
"UTAD" + //journal,jornal,conf 
   "2008" + //data   
 "" + 
   "" +   
 "" +
"Esta é a referência" +  
  "" +
"" +   "" +  
"" + 
 "" + "" +  
   ""; When i run the application, the output is this: 
java.io.IOException: PUT returned status = 500; text=Database access error: 
java.sql.SQLException: bad_dublin_core schema=dc, contributor creatorat 
LNIclient.LNIclient.finishPut(LNIclient.java:392)at 
teste.Main.main(Main.java:238) When i delete the  part i can 
successfully ingest an item i need the  area in order to add the 
creator and/or author name to the MODS file.
 
Any help?  Best regards.Guilherme Saraiva
_
Instale a Barra de Ferramentas com Desktop Search e ganhe EMOTICONS para o 
Messenger! É GRÁTIS!
http://www.msn.com.br/emoticonpack-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] LNI on DSpace 1.5

2008-07-02 Thread Luis Saraiva

Hello
Can anyone tell me how do i install LNI (LeightWeightNetworkInterface) on 
DSpace 1.5, and then deploy it to Tomcat's webapps directory ?
 
I have read the the documentation about this on the wiki but i'm having some 
problems...
Can anyone help me ?
 
Best regards
Guilherme
_
Cansado de espaço para só 50 fotos? Conheça o Spaces, o site de relacionamentos 
com até 6,000 fotos!
http://www.amigosdomessenger.com.br-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] LNI on DSpace

2008-07-28 Thread Kasthuri, Sriram
As you get a DB error, it looks like you dont have the corresponding metadata 
field registry.
 
try executing this query:
 
select * from metadatafieldregistry where element like '%contributor%' and 
qualifier like '%creator%'
 
Also try to log your ingest xml. 
 
-Sri




From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luis Saraiva
Sent: 28 July 2008 15:47
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] LNI on DSpace



Hello i'm using LNI Simple Client application in order to submit items from a 
DSpace SIP to to dspace repository.
While building a MODS file in order to submit some Metadata to the item, i have 
found an error.
 
My mets/mods file:

 

String xml = "" +
"" +
"" +
"" +
"" +
"" +
"" +
"asdasd" + 
//titulo
"" +
"" +
"Dr." +
"Brown, B. 
F." +
"Chemistry Dept., 
American University" +
"" +
"creator" +
"cre" +
"" +
"" +
"author" +
"aut" +
"" +
"" +
"" +

"UTAD" + //journal,jornal,conf

"2008" + //data
"" +
"" +
"" +
"Esta é a 
referência" +
"" +
"" +  
 "" +
  "" +
  "" +
 "" +
 "";

 

When i run the application, the output is this:

 

java.io.IOException: PUT returned status = 500; text=Database access error: 
java.sql.SQLException: bad_dublin_core schema=dc, contributor creator
at LNIclient.LNIclient.finishPut(LNIclient.java:392)
at teste.Main.main(Main.java:238)

 

When i delete the  part i can successfully ingest an item i need 
the  area in order to add the creator and/or author name to the MODS 
file.
 
Any help?  

Best regards.

Guilherme Saraiva






Veja mapas e encontre as melhores rotas para fugir do trânsito com o Live 
Search Maps! Experimente já! <http://www.livemaps.com.br/index.aspx?tr=true>  
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] LNI on DSpace

2008-07-28 Thread Mark Diggory
This issue reflects a rather unfortunate issue with the mods- 
submission crosswalk and its rather poor coding regarding allowing  
any "qualifier" into the metadata even if it is not in the metadata  
field table for that schema.


I.E. dc.contributor.creator does not exist (nor should it in the dc  
table). more ideally the mod-submission.xsl should be doing a much  
more responsible job of mapping from mods to the dspace dc metadata  
namespace.


I've recently rewritten this xslt for some of our production work in  
an attempt to make the mappings more correct with regards to:


http://www.loc.gov/standards/mods/mods-dcsimple.html
http://www.loc.gov/standards/mods/MODS3-22simpleDC.xsl

and a clearer mapping between mods and the qualified dublin core  
table that dspace maintains.


I highly recommend "not creating" something like  
dc.contributor.creator, and instead mods:name/mods:role/mods:roleTerm  
= 'creator' should map directly to dc.creator.


If you would be interested in the xslt modifications, while they are  
not fully tested, I would be glad to pass my mods-submission.xsl onto  
you.


-Mark

On Jul 28, 2008, at 7:46 AM, Luis Saraiva wrote:



Hello i'm using LNI Simple Client application in order to submit  
items from a DSpace SIP to to dspace repository.
While building a MODS file in order to submit some Metadata to the  
item, i have found an error.


My mets/mods file:



String xml = "" +
"" +

"" +
"" +
"" +
"" +

"" +
"asdasdmods:title>" + //titulo

"" +
"type='personal'>" +
"type='termsOfAddress'>Dr." +
"Brown,  
B. F." +
 
"Chemistry Dept., American Universitymods:affiliation>" +

"" +
"type='text'>creator" +
"type='code'>cre" +

"" +
"" +
"type='text'>author" +
"type='code'>aut" +

"" +
"" +
"" +
"UTADmods:publisher>" + //journal,jornal,conf
"2008mods:dateIssued>" + //data

"" +
"type='host'>" +

"" +
"Esta é  
a referência" +

"" +
"" +
 "" +
  "" +
  "" +
 "" +
 "";



When i run the application, the output is this:



java.io.IOException: PUT returned status = 500; text=Database  
access error: java.sql.SQLException: bad_dublin_core schema=dc,  
contributor creator

at LNIclient.LNIclient.finishPut(LNIclient.java:392)
at teste.Main.main(Main.java:238)



When i delete the  part i can successfully ingest an  
item i need the  area in order to add the creator  
and/or author name to the MODS file.


Any help?

Best regards.

Guilherme Saraiva



Veja mapas e encontre as melhores rotas para fugir do trânsito com  
o Live Search Maps! Experimente já!
-- 
---
This SF.Net email is sponsored by the Moblin Your Move Developer's  
challenge
Build the coolest Linux based applications with Moblin SDK & win  
great prizes
Grand prize is a trip for two to an Open Source event anywhere in  
the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/ 
___

DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech




~
Mark R. Diggory - DSpace Developer and Systems Manager
MIT Libraries, Systems and Technology Services
Massachusetts Institute of Technology
Home Page: http://purl.org/net/mdiggory/homepage





-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.

Re: [Dspace-tech] LNI on DSpace 1.5

2008-07-02 Thread Larry Stone
> Can anyone tell me how do i install LNI (LeightWeightNetworkInterface) on
D=
Space 1.5=2C and then deploy it to Tomcat's webapps directory ?

In release 1.5, the LNI webapp gets built by default (at least in the
"binary" release 1.5 i'm using); you just copy or link the directory
[dspace]/webapps/lni  to [tomcat]/webapps/lni, exactly as you do for
the jspui or xmlui webapp.

You can ignore the "install" instructions on the wiki page.  Please consider
updating the wiki with this information.

-- Larry


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech