You can subscribe to this list here.
2008 |
Jan
(22) |
Feb
(8) |
Mar
(9) |
Apr
(4) |
May
(17) |
Jun
(29) |
Jul
(11) |
Aug
(13) |
Sep
(17) |
Oct
(14) |
Nov
(41) |
Dec
(8) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
(17) |
Feb
(26) |
Mar
(18) |
Apr
(1) |
May
(11) |
Jun
(20) |
Jul
(5) |
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
|
2010 |
Jan
(23) |
Feb
(7) |
Mar
(9) |
Apr
(13) |
May
(5) |
Jun
|
Jul
(3) |
Aug
(5) |
Sep
|
Oct
(1) |
Nov
(3) |
Dec
|
2011 |
Jan
(3) |
Feb
|
Mar
(2) |
Apr
(1) |
May
|
Jun
(14) |
Jul
(22) |
Aug
(1) |
Sep
(2) |
Oct
(11) |
Nov
(11) |
Dec
(35) |
2012 |
Jan
(17) |
Feb
(12) |
Mar
(41) |
Apr
(40) |
May
(41) |
Jun
(27) |
Jul
(9) |
Aug
(1) |
Sep
|
Oct
(6) |
Nov
|
Dec
(11) |
2013 |
Jan
|
Feb
(4) |
Mar
(2) |
Apr
(8) |
May
(1) |
Jun
(18) |
Jul
(10) |
Aug
(16) |
Sep
(2) |
Oct
(1) |
Nov
(14) |
Dec
(11) |
2014 |
Jan
(7) |
Feb
(2) |
Mar
|
Apr
|
May
(8) |
Jun
(1) |
Jul
(7) |
Aug
(10) |
Sep
(8) |
Oct
(8) |
Nov
|
Dec
|
2015 |
Jan
|
Feb
(2) |
Mar
(2) |
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(6) |
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
(4) |
2018 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Ling He <li...@yo...> - 2012-10-11 18:54:19
|
Hi Richard, The one you are using is the Edit Media IRI (EM-IRI), but you want the Edit-IRI, which will be like http://[swordbaseurl]/edit/[item id] ------------------------------------------------ I tried this, but I only got a deposit receipt without 200 OK Location: [Edit-IRI] (I should get the HTTP status code according to Sec 9.3 Sword 2.0 profile, right?) And my item is still in workspace, is it supposed to generate a handle ID and move from "Unfinished submissions" to "Archived submissions" once deposit completed? My curl command is like this: curl -u "username:password" -H "In-Progress: false" -H "Content-Length: 0" http://[swordbaseurl]/edit/[item id] And I have two other questions regarding sword deposit. When I first retrieved the service document, I got error. I found the reason is that one of our collection name included the letter " <http://pi.library.yorku.ca/dspace/handle/10315/18071>É", is sword v2 designed to support utf-8? Or may some of my configurations are wrong? I used SimpleDCEntryIngester to ingest DC metadata, but during my testing, simpleDC mapping for simpledc.creator has to be dc.creator, if I mapped todc.contributor.author, I got error. Do you have any idea what this problem is? Thanks so much for all your assistance! Ling On 11/10/2012 12:36 PM, Richard Jones wrote: > Hi Ling > >> 2/ send your metadata separately, embedded in an Atom Entry. If this >> is dc metadata, the SimpleDCEntryIngester will suffice, otherwise >> you'd need to write another entry ingester. >> >> ------------------------------------------------------------- >> Yes, I successfully ingested the metadata and the file into our test env >> using Easydeposit. My question is if I can ingest objects in batch, >> Easydeposit can only submit and ingest one record at a time. > Ah, no, so SWORDv2 is a single item deposit protocol, you will only be > able to do one item at a time over the API. > >> If the SWORD deposit comes with an In-Progress: false header, it will >> automatically be injected into the workflow; the items then follow the >> standard workflow/archive process for DSpace. So when you are >> finished depositing, just send a "complete" request (spec section 10 - >> all of the clients support this I think). >> >> ------------------------------------------------------- >> By "complete" request, you mean send " In-Progress: false" to SWORD Edit IR? >> Does SWORD Edit IR mean http://[swordbaseurl]/edit-media/[workspace ID] for >> DSpace? I tried curl, but always got a 400 response. > The one you are using is the Edit Media IRI (EM-IRI), but you want the > Edit-IRI, which will be like > > http://[swordbaseurl]/edit/[item id] > > Cheers, > > Richard > >> Thanks, >> Ling >> >> On 03/05/2012 10:23 AM, Richard Jones wrote: >> >> Hi Ling, >> >> On 3 May 2012 14:28, Ling He<li...@yo...> wrote: >> >> Hi, >> >> I have been testing how to deposit items into DSpace Workspace using >> Sword2 for weeks. From my testing, SwordMETSContentIngester will direct >> ingest the package into archive and generate the external identifier, so >> if I want my items stay in workspace first, I can't really use mets >> ingester, right? I tested BinaryContentIngester and >> SimpleZipContentIngester, they can ingest the items into workspace, but >> only for the bitstream not metadata, so how can I put my metadata in? Do >> I need to write my own ingester and client to do it or any other >> existing ingesters I can use? >> >> You have a couple of options: >> >> 1/ If you have a custom package format which contains your metadata >> you need to write an ingester for it which will create DSpace Items >> from your packaged content/metadata. The METS ingester for SWORDv2 is >> experimental, and I wouldn't use it. >> >> 2/ send your metadata separately, embedded in an Atom Entry. If this >> is dc metadata, the SimpleDCEntryIngester will suffice, otherwise >> you'd need to write another entry ingester. >> >> You can see which protocol operations are available to you by looking >> at the spec, here: >> http://swordapp.github.com/SWORDv2-Profile/SWORDProfile.html >> >> Also, take a look at the swordv2-server.cfg in the >> dspace/config/modules directory, which has some comments inline which >> show how to use the plugins for content ingesters. >> >> And how can I move the items from >> workspace to archive, if later on the workspace item is approved to >> deposit into our DSpace permanently? Will every workspace item have to >> go through the DSpace submission workflow or is there a quick way to do it? >> >> If the SWORD deposit comes with an In-Progress: false header, it will >> automatically be injected into the workflow; the items then follow the >> standard workflow/archive process for DSpace. So when you are >> finished depositing, just send a "complete" request (spec section 10 - >> all of the clients support this I think). >> >> Cheers, >> >> Richard >> >> Thanks, >> >> -- >> Ling He >> Digital Services Librarian >> York University Libraries >> Scott Library, 4700 Keele St. Room 105D, Toronto ON M3J 1P3 >> Email: li...@yo... >> Phone: 416-736-2100 x20461 >> >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> sword-app-tech mailing list >> swo...@li... >> https://lists.sourceforge.net/lists/listinfo/sword-app-tech >> >> >> >> -- >> Ling He >> Digital Services Librarian >> York University Libraries >> Scott Library, 4700 Keele St. Room 105D, Toronto ON M3J 1P3 >> Email: li...@yo... >> Phone: 416-736-2100 x20461 >> > > -- Ling He Digital Services Librarian York University Libraries Scott Library, 4700 Keele St. Room 105D, Toronto ON M3J 1P3 Email: li...@yo... Phone: 416-736-2100 x20461 |
From: Richard J. <ri...@co...> - 2012-10-11 17:08:07
|
Hi Ling > 2/ send your metadata separately, embedded in an Atom Entry. If this > is dc metadata, the SimpleDCEntryIngester will suffice, otherwise > you'd need to write another entry ingester. > > ------------------------------------------------------------- > Yes, I successfully ingested the metadata and the file into our test env > using Easydeposit. My question is if I can ingest objects in batch, > Easydeposit can only submit and ingest one record at a time. Ah, no, so SWORDv2 is a single item deposit protocol, you will only be able to do one item at a time over the API. > If the SWORD deposit comes with an In-Progress: false header, it will > automatically be injected into the workflow; the items then follow the > standard workflow/archive process for DSpace. So when you are > finished depositing, just send a "complete" request (spec section 10 - > all of the clients support this I think). > > ------------------------------------------------------- > By "complete" request, you mean send " In-Progress: false" to SWORD Edit IR? > Does SWORD Edit IR mean http://[swordbaseurl]/edit-media/[workspace ID] for > DSpace? I tried curl, but always got a 400 response. The one you are using is the Edit Media IRI (EM-IRI), but you want the Edit-IRI, which will be like http://[swordbaseurl]/edit/[item id] Cheers, Richard > > Thanks, > Ling > > On 03/05/2012 10:23 AM, Richard Jones wrote: > > Hi Ling, > > On 3 May 2012 14:28, Ling He <li...@yo...> wrote: > > Hi, > > I have been testing how to deposit items into DSpace Workspace using > Sword2 for weeks. From my testing, SwordMETSContentIngester will direct > ingest the package into archive and generate the external identifier, so > if I want my items stay in workspace first, I can't really use mets > ingester, right? I tested BinaryContentIngester and > SimpleZipContentIngester, they can ingest the items into workspace, but > only for the bitstream not metadata, so how can I put my metadata in? Do > I need to write my own ingester and client to do it or any other > existing ingesters I can use? > > You have a couple of options: > > 1/ If you have a custom package format which contains your metadata > you need to write an ingester for it which will create DSpace Items > from your packaged content/metadata. The METS ingester for SWORDv2 is > experimental, and I wouldn't use it. > > 2/ send your metadata separately, embedded in an Atom Entry. If this > is dc metadata, the SimpleDCEntryIngester will suffice, otherwise > you'd need to write another entry ingester. > > You can see which protocol operations are available to you by looking > at the spec, here: > http://swordapp.github.com/SWORDv2-Profile/SWORDProfile.html > > Also, take a look at the swordv2-server.cfg in the > dspace/config/modules directory, which has some comments inline which > show how to use the plugins for content ingesters. > > And how can I move the items from > workspace to archive, if later on the workspace item is approved to > deposit into our DSpace permanently? Will every workspace item have to > go through the DSpace submission workflow or is there a quick way to do it? > > If the SWORD deposit comes with an In-Progress: false header, it will > automatically be injected into the workflow; the items then follow the > standard workflow/archive process for DSpace. So when you are > finished depositing, just send a "complete" request (spec section 10 - > all of the clients support this I think). > > Cheers, > > Richard > > Thanks, > > -- > Ling He > Digital Services Librarian > York University Libraries > Scott Library, 4700 Keele St. Room 105D, Toronto ON M3J 1P3 > Email: li...@yo... > Phone: 416-736-2100 x20461 > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > > > > -- > Ling He > Digital Services Librarian > York University Libraries > Scott Library, 4700 Keele St. Room 105D, Toronto ON M3J 1P3 > Email: li...@yo... > Phone: 416-736-2100 x20461 > -- Richard Jones, Founder, Cottage Labs t: @richard_d_jones, @cottagelabs w: http://cottagelabs.com |
From: Ling He <li...@yo...> - 2012-10-02 17:53:28
|
Hi Richard, 2/ send your metadata separately, embedded in an Atom Entry. If this is dc metadata, the SimpleDCEntryIngester will suffice, otherwise you'd need to write another entry ingester. ------------------------------------------------------------- Yes, I successfully ingested the metadata and the file into our test env using Easydeposit. My question is if I can ingest objects in batch, Easydeposit can only submit and ingest one record at a time. If the SWORD deposit comes with an In-Progress: false header, it will automatically be injected into the workflow; the items then follow the standard workflow/archive process for DSpace. So when you are finished depositing, just send a "complete" request (spec section 10 - all of the clients support this I think). ------------------------------------------------------- By "complete" request, you mean send " In-Progress: false" to *SWORD Edit IR? Does **SWORD Edit IR *mean http://[swordbaseurl]/edit-media/[workspace ID] for DSpace? I tried curl, but always got a 400 response. Thanks, Ling On 03/05/2012 10:23 AM, Richard Jones wrote: > Hi Ling, > > On 3 May 2012 14:28, Ling He<li...@yo...> wrote: >> Hi, >> >> I have been testing how to deposit items into DSpace Workspace using >> Sword2 for weeks. From my testing, SwordMETSContentIngester will direct >> ingest the package into archive and generate the external identifier, so >> if I want my items stay in workspace first, I can't really use mets >> ingester, right? I tested BinaryContentIngester and >> SimpleZipContentIngester, they can ingest the items into workspace, but >> only for the bitstream not metadata, so how can I put my metadata in? Do >> I need to write my own ingester and client to do it or any other >> existing ingesters I can use? > You have a couple of options: > > 1/ If you have a custom package format which contains your metadata > you need to write an ingester for it which will create DSpace Items > from your packaged content/metadata. The METS ingester for SWORDv2 is > experimental, and I wouldn't use it. > > 2/ send your metadata separately, embedded in an Atom Entry. If this > is dc metadata, the SimpleDCEntryIngester will suffice, otherwise > you'd need to write another entry ingester. > > You can see which protocol operations are available to you by looking > at the spec, here: > http://swordapp.github.com/SWORDv2-Profile/SWORDProfile.html > > Also, take a look at the swordv2-server.cfg in the > dspace/config/modules directory, which has some comments inline which > show how to use the plugins for content ingesters. > >> And how can I move the items from >> workspace to archive, if later on the workspace item is approved to >> deposit into our DSpace permanently? Will every workspace item have to >> go through the DSpace submission workflow or is there a quick way to do it? > If the SWORD deposit comes with an In-Progress: false header, it will > automatically be injected into the workflow; the items then follow the > standard workflow/archive process for DSpace. So when you are > finished depositing, just send a "complete" request (spec section 10 - > all of the clients support this I think). > > Cheers, > > Richard > >> Thanks, >> >> -- >> Ling He >> Digital Services Librarian >> York University Libraries >> Scott Library, 4700 Keele St. Room 105D, Toronto ON M3J 1P3 >> Email: li...@yo... >> Phone: 416-736-2100 x20461 >> >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> sword-app-tech mailing list >> swo...@li... >> https://lists.sourceforge.net/lists/listinfo/sword-app-tech > > -- Ling He Digital Services Librarian York University Libraries Scott Library, 4700 Keele St. Room 105D, Toronto ON M3J 1P3 Email: li...@yo... Phone: 416-736-2100 x20461 |
From: Wellaway, I. <I.J...@ex...> - 2012-08-23 08:48:28
|
Hi, We're trying to get the SWORD v2 'on behalf of' command to work but while it works with sword v1 we can;t get it to work properly with sword v2 (see email below). Anyone have any ideas what we might be ding wrong? Cheers Ian ------------ Ian Wellaway Senior System Support & Development Officer - Enterprise Applications (Wednesdays only) & Technical Developer, Open Exeter - Infrastructure Systems (Monday-Tuesday, Thursday-Friday) Exeter IT Room 54 Laver Building University of Exeter EX4 4QE UK tel +44 1392 722852 From: Small, Dan Sent: 22 August 2012 16:50 To: Wellaway, Ian Cc: Taylor, Lee Subject: Sword2 Servicedocument On Behalf Of Hi Ian, Just to clarify what we saw earlier. The service document only shows collections that UserB can submit to if I issue this command. curl -i -H "X-On-Behalf-Of: UserB" http://UserA:Pas...@vm.../sword/servicedocument The service document shows all collections that UserA can submit to if I issue this command. curl -i -H "X-On-Behalf-Of: UserB " http:// UserA:Password @vmerdmsdspace01.ex.ac.uk/swordv2/servicedocument I understand that we have the Sword 2 configuration setting on-behalf-of.enable = true Can you see if you can get this clarified or are we missing a configuration value or something? Regards, Dan Sheridan "Dan" Small Systems Developer Infrastructure Systems Team Exeter IT University of Exeter, Laver Building, North Park Road, Exeter. EX4 4QE. Telephone: 01392 72 (3926) |
From: Wellaway, I. <I.J...@ex...> - 2012-07-27 15:53:10
|
Hi, I'm having issues with submitting large files via SWORD to Dspace. The largest I have managed to submit thus far is 1GB although this seemed to give errors with metadata: 2012-07-27 16:30:07,081 - sword2.connection - INFO - Using the Edit-IRI - Metadata or Metadata + file multipart-related uses a PUT request to the Edit-IRI I have set the max.upload parameter in the swordv2-server.cfg to 0 (unlimited) but could something else be affecting the upload? I'm using the simplezip package, and after some tweaking have enabled the zip64 python extension to allow the script to zip up files larger than 4GB so this isn't causing a problem. Any help would be greatfully received. Thanks Ian ------------ Ian Wellaway Senior System Support & Development Officer - Academic Systems (Room 911) Wednesdays only & Technical Developer, Open Exeter - Infrastructure Systems (Room 54) Monday - Tuesday, Thursday - Friday Exeter IT Laver Building University of Exeter EX4 4QE UK tel +44 1392 722852 |
From: LEWIS S. <Stu...@ed...> - 2012-07-26 07:32:48
|
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. |
From: Joke P. <jok...@da...> - 2012-07-26 07:22:20
|
Hello client.swordapp.org currently returns with a bad gateway error. yahoo managed to cache a proper page on 7/14/2012. Will this be fixed some day? With kind regards, Joke Pol Developer +31(0)6 201 055 18 jok...@da...<applewebdata://7BBA341F-5C87-4A96-A36D-FB683FBD2059/jok...@da...> Data Archiving and Networked Services (DANS) DANS offers durable access to digital research data. Please visit http://www.dans.knaw.nl<http://www.dans.knaw.nl/> for more information and contact details. DANS is an institute of KNAW and NWO. |
From: Kathi F. <Kat...@gm...> - 2012-07-17 15:18:14
|
Hi Ian, Here is an example of what I was referring to. It uses dublin core, but then adds some attributes that are more specific than the dublin core correspondents, or are used by the machinery of the underlying repository. * <dcterms:contributor oerdc:role="illustrator" oerdc:id="kef" oerdc:email=" ke...@ke...">Kathi Fletcher</dcterms:contributor> * * * Here is the name space declaration. * * *<oerdc:dc xmlns:oerdc=”http://oerpub.org/oerpub/oerdc<http://purl.org/oerpub/oer_dc> ” xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">* * * I am not a schema expert, but just jumped in and also had some help from folks with more experience. Maybe this will be useful for you. Kathi On Tue, Jul 17, 2012 at 7:48 AM, Wellaway, Ian <I.J...@ex...>wrote: > Hi Kathi and Richard,**** > > ** ** > > Ignore my last email, I’ve figured it out by amending and adding to the > list of simpledc terms in the swordv2-server.cfg file, which is what you > said in your emails (the penny dropped after a while).**** > > ** ** > > Thank you both very much for your help.**** > > ** ** > > Best regards**** > > ** ** > > Ian**** > > ** ** > > ------------ > > Ian Wellaway > > **** > > Senior System Support & Development Officer - Academic Systems (Room 911) > Wednesdays only**** > > &**** > > Technical Developer, Open Exeter - Infrastructure Systems (Room 54) Monday > - Tuesday, Thursday - Friday**** > > ** ** > > Exeter IT > Laver Building > University of Exeter > EX4 4QE > UK**** > > ** ** > > tel +44 1392 722852**** > > ** ** > > *From:* Wellaway, Ian > *Sent:* 17 July 2012 09:49 > *To:* 'Kathi Fletcher' > *Cc:* swo...@li...; Richard Jones > *Subject:* RE: [sword-app-tech] Submitting metadata vis SWORD**** > > ** ** > > Thanks very much for your email Kathi,**** > > ** ** > > I’m not sure what ‘namespace an attribute on that that gives the added > information/specialization that you need’ means or how to do it. Could > you explain please?**** > > ** ** > > Best regards**** > > ** ** > > Ian**** > > ** ** > > ------------ > > Ian Wellaway**** > > Senior System Support & Development Officer - Academic Systems (Room 911) > Wednesdays only**** > > &**** > > Technical Developer, Open Exeter - Infrastructure Systems (Room 54) Monday > - Tuesday, Thursday - Friday**** > > ** ** > > Exeter IT > Laver Building > University of Exeter > EX4 4QE > UK**** > > ** ** > > tel +44 1392 722852**** > > ** ** > > *From:* ke...@gm... [mailto:ke...@gm... <ke...@gm...>] *On > Behalf Of *Kathi Fletcher > *Sent:* 13 July 2012 22:00 > *To:* Wellaway, Ian > *Cc:* swo...@li...; Richard Jones > *Subject:* Re: [sword-app-tech] Submitting metadata vis SWORD**** > > ** ** > > Ian,**** > > ** ** > > I think another alternative would be to use the dcterm that is closest and > just namespace an attribute on that that gives the added > information/specialization that you need.**** > > ** ** > > We did this for adding contributor specializations.**** > > ** ** > > Kathi**** > > On Fri, Jul 13, 2012 at 1:30 PM, Richard Jones <ri...@co...> > wrote:**** > > Hi Ian, > > The qualifier approach that DSpace uses (dc.contributor.department for > example) is an idiom based on the DCMI terms, so you can't strictly do > it the way you suggest here, no, because what you've got isn't Dublin > Core. If you take a look at the DCMI spec > (http://dublincore.org/documents/dcmi-terms/) you will see that what > DSpace represents as dc.title.alternative (for example), is actually > correctly referenced as dcterms:alternative (which is a refinement of > dcterms:title), and in SWORD we allow the DC XML to be embedded like > <dcterms:alternative>subtitle</dcterms:alternative>, but only because > that's a legitimate DCMI term. > > Your options are: > > 1/ Ignore all that and do it anyway! Your example is legit XML, even > if the namespace declaration is technically inaccurate, and if you > update the ingester in DSpace to recognise your custom term (you might > also need to update the disseminators to reflect it back over the > sword API) > > 2/ Put your custom field in its own namespace. Same comments about > updating the ingesters as in (1) apply. > > Hope that helps. > > Cheers, > > Richard**** > > > On 13 July 2012 16:38, Wellaway, Ian <I.J...@ex...> wrote: > > Hi, > > > > > > > > In the python protocol for SWORD v2, is it possible to upload metadata > that > > has a qualifier as well as an identifier...Eg. dc.contributor.department. > > > > > > > > At present, I can upload metadata from the DCMI range but this only > allows > > as certain scope of data (such as contributor or title). > > > > > > > > Ideally, I’d like to write this as atom xml along the lines of: > > > > > > > > <?xml version='1.0'?> > > > > <ns0:entry xmlns:ns0='http://www.w3.org/2005/Atom' > > xmlns:ns1='http://purl.org/dc/terms/'> > > > > <ns0:generator uri='http://bitbucket.org/beno/python-sword2' > version='0.1' > > /> > > > > <ns0:updated>2012-07-09T17:06:44.696709</ns0:updated> > > > > <ns1:title>Test import 2</ns1:title> > > > > > > > > <ns1:contributor.department>Test text</ns1:contributor.department > ‘this > > doesn’t work! > > > > > > > > </ns0:entry> > > > > > > > > Any ideas on this? > > > > > > > > Thanks > > > > > > > > Ian > > > > > > > > ------------ > > > > Ian Wellaway > > > > Senior System Support & Development Officer - Academic Systems (Room 911) > > Wednesdays only > > > > & > > > > Technical Developer, Open Exeter - Infrastructure Systems (Room 54) > Monday - > > Tuesday, Thursday - Friday > > > > > > > > Exeter IT > > Laver Building > > University of Exeter > > EX4 4QE > > UK > > > > > > > > tel +44 1392 722852 > > > > > > > >**** > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > sword-app-tech mailing list > > swo...@li... > > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > > > > > > -- > > Richard Jones, > > Founder, Cottage Labs > t: @richard_d_jones, @cottagelabs > w: http://cottagelabs.com > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech**** > > > > **** > > ** ** > > -- > Katherine Fletcher, kat...@gm...**** > > Twitter: kefletcher <http://www.twitter.com/kefletcher> Blog: > kefletcher.blogspot.com**** > > ** ** > > ** ** > > ** ** > -- Katherine Fletcher, kat...@gm... <kat...@gm...> Twitter: kefletcher <http://www.twitter.com/kefletcher> Blog: kefletcher.blogspot.com <kat...@gm...> |
From: Wellaway, I. <I.J...@ex...> - 2012-07-17 12:48:56
|
Hi Kathi and Richard, Ignore my last email, I've figured it out by amending and adding to the list of simpledc terms in the swordv2-server.cfg file, which is what you said in your emails (the penny dropped after a while). Thank you both very much for your help. Best regards Ian ------------ Ian Wellaway Senior System Support & Development Officer - Academic Systems (Room 911) Wednesdays only & Technical Developer, Open Exeter - Infrastructure Systems (Room 54) Monday - Tuesday, Thursday - Friday Exeter IT Laver Building University of Exeter EX4 4QE UK tel +44 1392 722852 From: Wellaway, Ian Sent: 17 July 2012 09:49 To: 'Kathi Fletcher' Cc: swo...@li...; Richard Jones Subject: RE: [sword-app-tech] Submitting metadata vis SWORD Thanks very much for your email Kathi, I'm not sure what 'namespace an attribute on that that gives the added information/specialization that you need' means or how to do it. Could you explain please? Best regards Ian ------------ Ian Wellaway Senior System Support & Development Officer - Academic Systems (Room 911) Wednesdays only & Technical Developer, Open Exeter - Infrastructure Systems (Room 54) Monday - Tuesday, Thursday - Friday Exeter IT Laver Building University of Exeter EX4 4QE UK tel +44 1392 722852 From: ke...@gm...<mailto:ke...@gm...> [mailto:ke...@gm...] On Behalf Of Kathi Fletcher Sent: 13 July 2012 22:00 To: Wellaway, Ian Cc: swo...@li...<mailto:swo...@li...>; Richard Jones Subject: Re: [sword-app-tech] Submitting metadata vis SWORD Ian, I think another alternative would be to use the dcterm that is closest and just namespace an attribute on that that gives the added information/specialization that you need. We did this for adding contributor specializations. Kathi On Fri, Jul 13, 2012 at 1:30 PM, Richard Jones <ri...@co...<mailto:ri...@co...>> wrote: Hi Ian, The qualifier approach that DSpace uses (dc.contributor.department for example) is an idiom based on the DCMI terms, so you can't strictly do it the way you suggest here, no, because what you've got isn't Dublin Core. If you take a look at the DCMI spec (http://dublincore.org/documents/dcmi-terms/) you will see that what DSpace represents as dc.title.alternative (for example), is actually correctly referenced as dcterms:alternative (which is a refinement of dcterms:title), and in SWORD we allow the DC XML to be embedded like <dcterms:alternative>subtitle</dcterms:alternative>, but only because that's a legitimate DCMI term. Your options are: 1/ Ignore all that and do it anyway! Your example is legit XML, even if the namespace declaration is technically inaccurate, and if you update the ingester in DSpace to recognise your custom term (you might also need to update the disseminators to reflect it back over the sword API) 2/ Put your custom field in its own namespace. Same comments about updating the ingesters as in (1) apply. Hope that helps. Cheers, Richard On 13 July 2012 16:38, Wellaway, Ian <I.J...@ex...<mailto:I.J...@ex...>> wrote: > Hi, > > > > In the python protocol for SWORD v2, is it possible to upload metadata that > has a qualifier as well as an identifier...Eg. dc.contributor.department. > > > > At present, I can upload metadata from the DCMI range but this only allows > as certain scope of data (such as contributor or title). > > > > Ideally, I'd like to write this as atom xml along the lines of: > > > > <?xml version='1.0'?> > > <ns0:entry xmlns:ns0='http://www.w3.org/2005/Atom' > xmlns:ns1='http://purl.org/dc/terms/'> > > <ns0:generator uri='http://bitbucket.org/beno/python-sword2' version='0.1' > /> > > <ns0:updated>2012-07-09T17:06:44.696709</ns0:updated> > > <ns1:title>Test import 2</ns1:title> > > > > <ns1:contributor.department>Test text</ns1:contributor.department > 'this > doesn't work! > > > > </ns0:entry> > > > > Any ideas on this? > > > > Thanks > > > > Ian > > > > ------------ > > Ian Wellaway > > Senior System Support & Development Officer - Academic Systems (Room 911) > Wednesdays only > > & > > Technical Developer, Open Exeter - Infrastructure Systems (Room 54) Monday - > Tuesday, Thursday - Friday > > > > Exeter IT > Laver Building > University of Exeter > EX4 4QE > UK > > > > tel +44 1392 722852 > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > sword-app-tech mailing list > swo...@li...<mailto:swo...@li...> > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > -- Richard Jones, Founder, Cottage Labs t: @richard_d_jones, @cottagelabs w: http://cottagelabs.com ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ sword-app-tech mailing list swo...@li...<mailto:swo...@li...> https://lists.sourceforge.net/lists/listinfo/sword-app-tech -- Katherine Fletcher, kat...@gm...<mailto:kat...@gm...> Twitter: kefletcher<http://www.twitter.com/kefletcher> Blog: kefletcher.blogspot.com<http://kefletcher.blogspot.com/> |
From: Wellaway, I. <I.J...@ex...> - 2012-07-17 08:49:10
|
Thanks very much for your email Kathi, I'm not sure what 'namespace an attribute on that that gives the added information/specialization that you need' means or how to do it. Could you explain please? Best regards Ian ------------ Ian Wellaway Senior System Support & Development Officer - Academic Systems (Room 911) Wednesdays only & Technical Developer, Open Exeter - Infrastructure Systems (Room 54) Monday - Tuesday, Thursday - Friday Exeter IT Laver Building University of Exeter EX4 4QE UK tel +44 1392 722852 From: ke...@gm... [mailto:ke...@gm...] On Behalf Of Kathi Fletcher Sent: 13 July 2012 22:00 To: Wellaway, Ian Cc: swo...@li...; Richard Jones Subject: Re: [sword-app-tech] Submitting metadata vis SWORD Ian, I think another alternative would be to use the dcterm that is closest and just namespace an attribute on that that gives the added information/specialization that you need. We did this for adding contributor specializations. Kathi On Fri, Jul 13, 2012 at 1:30 PM, Richard Jones <ri...@co...<mailto:ri...@co...>> wrote: Hi Ian, The qualifier approach that DSpace uses (dc.contributor.department for example) is an idiom based on the DCMI terms, so you can't strictly do it the way you suggest here, no, because what you've got isn't Dublin Core. If you take a look at the DCMI spec (http://dublincore.org/documents/dcmi-terms/) you will see that what DSpace represents as dc.title.alternative (for example), is actually correctly referenced as dcterms:alternative (which is a refinement of dcterms:title), and in SWORD we allow the DC XML to be embedded like <dcterms:alternative>subtitle</dcterms:alternative>, but only because that's a legitimate DCMI term. Your options are: 1/ Ignore all that and do it anyway! Your example is legit XML, even if the namespace declaration is technically inaccurate, and if you update the ingester in DSpace to recognise your custom term (you might also need to update the disseminators to reflect it back over the sword API) 2/ Put your custom field in its own namespace. Same comments about updating the ingesters as in (1) apply. Hope that helps. Cheers, Richard On 13 July 2012 16:38, Wellaway, Ian <I.J...@ex...<mailto:I.J...@ex...>> wrote: > Hi, > > > > In the python protocol for SWORD v2, is it possible to upload metadata that > has a qualifier as well as an identifier...Eg. dc.contributor.department. > > > > At present, I can upload metadata from the DCMI range but this only allows > as certain scope of data (such as contributor or title). > > > > Ideally, I'd like to write this as atom xml along the lines of: > > > > <?xml version='1.0'?> > > <ns0:entry xmlns:ns0='http://www.w3.org/2005/Atom' > xmlns:ns1='http://purl.org/dc/terms/'> > > <ns0:generator uri='http://bitbucket.org/beno/python-sword2' version='0.1' > /> > > <ns0:updated>2012-07-09T17:06:44.696709</ns0:updated> > > <ns1:title>Test import 2</ns1:title> > > > > <ns1:contributor.department>Test text</ns1:contributor.department > 'this > doesn't work! > > > > </ns0:entry> > > > > Any ideas on this? > > > > Thanks > > > > Ian > > > > ------------ > > Ian Wellaway > > Senior System Support & Development Officer - Academic Systems (Room 911) > Wednesdays only > > & > > Technical Developer, Open Exeter - Infrastructure Systems (Room 54) Monday - > Tuesday, Thursday - Friday > > > > Exeter IT > Laver Building > University of Exeter > EX4 4QE > UK > > > > tel +44 1392 722852 > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > sword-app-tech mailing list > swo...@li...<mailto:swo...@li...> > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > -- Richard Jones, Founder, Cottage Labs t: @richard_d_jones, @cottagelabs w: http://cottagelabs.com ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ sword-app-tech mailing list swo...@li...<mailto:swo...@li...> https://lists.sourceforge.net/lists/listinfo/sword-app-tech -- Katherine Fletcher, kat...@gm...<mailto:kat...@gm...> Twitter: kefletcher<http://www.twitter.com/kefletcher> Blog: kefletcher.blogspot.com<http://kefletcher.blogspot.com/> |
From: Kathi F. <Kat...@gm...> - 2012-07-13 21:00:32
|
Ian, I think another alternative would be to use the dcterm that is closest and just namespace an attribute on that that gives the added information/specialization that you need. We did this for adding contributor specializations. Kathi On Fri, Jul 13, 2012 at 1:30 PM, Richard Jones <ri...@co...>wrote: > Hi Ian, > > The qualifier approach that DSpace uses (dc.contributor.department for > example) is an idiom based on the DCMI terms, so you can't strictly do > it the way you suggest here, no, because what you've got isn't Dublin > Core. If you take a look at the DCMI spec > (http://dublincore.org/documents/dcmi-terms/) you will see that what > DSpace represents as dc.title.alternative (for example), is actually > correctly referenced as dcterms:alternative (which is a refinement of > dcterms:title), and in SWORD we allow the DC XML to be embedded like > <dcterms:alternative>subtitle</dcterms:alternative>, but only because > that's a legitimate DCMI term. > > Your options are: > > 1/ Ignore all that and do it anyway! Your example is legit XML, even > if the namespace declaration is technically inaccurate, and if you > update the ingester in DSpace to recognise your custom term (you might > also need to update the disseminators to reflect it back over the > sword API) > > 2/ Put your custom field in its own namespace. Same comments about > updating the ingesters as in (1) apply. > > Hope that helps. > > Cheers, > > Richard > > On 13 July 2012 16:38, Wellaway, Ian <I.J...@ex...> wrote: > > Hi, > > > > > > > > In the python protocol for SWORD v2, is it possible to upload metadata > that > > has a qualifier as well as an identifier...Eg. dc.contributor.department. > > > > > > > > At present, I can upload metadata from the DCMI range but this only > allows > > as certain scope of data (such as contributor or title). > > > > > > > > Ideally, I’d like to write this as atom xml along the lines of: > > > > > > > > <?xml version='1.0'?> > > > > <ns0:entry xmlns:ns0='http://www.w3.org/2005/Atom' > > xmlns:ns1='http://purl.org/dc/terms/'> > > > > <ns0:generator uri='http://bitbucket.org/beno/python-sword2' > version='0.1' > > /> > > > > <ns0:updated>2012-07-09T17:06:44.696709</ns0:updated> > > > > <ns1:title>Test import 2</ns1:title> > > > > > > > > <ns1:contributor.department>Test text</ns1:contributor.department > ‘this > > doesn’t work! > > > > > > > > </ns0:entry> > > > > > > > > Any ideas on this? > > > > > > > > Thanks > > > > > > > > Ian > > > > > > > > ------------ > > > > Ian Wellaway > > > > Senior System Support & Development Officer - Academic Systems (Room 911) > > Wednesdays only > > > > & > > > > Technical Developer, Open Exeter - Infrastructure Systems (Room 54) > Monday - > > Tuesday, Thursday - Friday > > > > > > > > Exeter IT > > Laver Building > > University of Exeter > > EX4 4QE > > UK > > > > > > > > tel +44 1392 722852 > > > > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > sword-app-tech mailing list > > swo...@li... > > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > > > > > > -- > > Richard Jones, > > Founder, Cottage Labs > t: @richard_d_jones, @cottagelabs > w: http://cottagelabs.com > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > -- Katherine Fletcher, kat...@gm... <kat...@gm...> Twitter: kefletcher <http://www.twitter.com/kefletcher> Blog: kefletcher.blogspot.com <kat...@gm...> |
From: Richard J. <ri...@co...> - 2012-07-13 19:26:22
|
Hi Ian, The qualifier approach that DSpace uses (dc.contributor.department for example) is an idiom based on the DCMI terms, so you can't strictly do it the way you suggest here, no, because what you've got isn't Dublin Core. If you take a look at the DCMI spec (http://dublincore.org/documents/dcmi-terms/) you will see that what DSpace represents as dc.title.alternative (for example), is actually correctly referenced as dcterms:alternative (which is a refinement of dcterms:title), and in SWORD we allow the DC XML to be embedded like <dcterms:alternative>subtitle</dcterms:alternative>, but only because that's a legitimate DCMI term. Your options are: 1/ Ignore all that and do it anyway! Your example is legit XML, even if the namespace declaration is technically inaccurate, and if you update the ingester in DSpace to recognise your custom term (you might also need to update the disseminators to reflect it back over the sword API) 2/ Put your custom field in its own namespace. Same comments about updating the ingesters as in (1) apply. Hope that helps. Cheers, Richard On 13 July 2012 16:38, Wellaway, Ian <I.J...@ex...> wrote: > Hi, > > > > In the python protocol for SWORD v2, is it possible to upload metadata that > has a qualifier as well as an identifier...Eg. dc.contributor.department. > > > > At present, I can upload metadata from the DCMI range but this only allows > as certain scope of data (such as contributor or title). > > > > Ideally, I’d like to write this as atom xml along the lines of: > > > > <?xml version='1.0'?> > > <ns0:entry xmlns:ns0='http://www.w3.org/2005/Atom' > xmlns:ns1='http://purl.org/dc/terms/'> > > <ns0:generator uri='http://bitbucket.org/beno/python-sword2' version='0.1' > /> > > <ns0:updated>2012-07-09T17:06:44.696709</ns0:updated> > > <ns1:title>Test import 2</ns1:title> > > > > <ns1:contributor.department>Test text</ns1:contributor.department > ‘this > doesn’t work! > > > > </ns0:entry> > > > > Any ideas on this? > > > > Thanks > > > > Ian > > > > ------------ > > Ian Wellaway > > Senior System Support & Development Officer - Academic Systems (Room 911) > Wednesdays only > > & > > Technical Developer, Open Exeter - Infrastructure Systems (Room 54) Monday - > Tuesday, Thursday - Friday > > > > Exeter IT > Laver Building > University of Exeter > EX4 4QE > UK > > > > tel +44 1392 722852 > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > -- Richard Jones, Founder, Cottage Labs t: @richard_d_jones, @cottagelabs w: http://cottagelabs.com |
From: Wellaway, I. <I.J...@ex...> - 2012-07-13 15:38:42
|
Hi, In the python protocol for SWORD v2, is it possible to upload metadata that has a qualifier as well as an identifier...Eg. dc.contributor.department. At present, I can upload metadata from the DCMI range but this only allows as certain scope of data (such as contributor or title). Ideally, I'd like to write this as atom xml along the lines of: <?xml version='1.0'?> <ns0:entry xmlns:ns0='http://www.w3.org/2005/Atom' xmlns:ns1='http://purl.org/dc/terms/'> <ns0:generator uri='http://bitbucket.org/beno/python-sword2' version='0.1' /> <ns0:updated>2012-07-09T17:06:44.696709</ns0:updated> <ns1:title>Test import 2</ns1:title> <ns1:contributor.department>Test text</ns1:contributor.department > 'this doesn't work! </ns0:entry> Any ideas on this? Thanks Ian ------------ Ian Wellaway Senior System Support & Development Officer - Academic Systems (Room 911) Wednesdays only & Technical Developer, Open Exeter - Infrastructure Systems (Room 54) Monday - Tuesday, Thursday - Friday Exeter IT Laver Building University of Exeter EX4 4QE UK tel +44 1392 722852 |
From: Ying J. <Yin...@ri...> - 2012-06-26 16:46:36
|
Hi Hayden, I work with Kathi on the multipart deposits. I tried to deposit metadata and content separately using curl command on DSpace 1.8.2. The items are deposited but Incomplete (no handle assigned yet). As you said, there is no response after content deposit. Would you mind to send me your source code with a response generated? Also, what do you do to completeIncompleteDeposit? Thanks, Ying On Jun 21, 2012, at 11:17 PM, Hayden Young wrote: > Yes I noticed the sword version was missing although it didn't seem > to impact on our ability to submit to the repository. Don't know > about the encoding issue; I'll check our service document when I get > a chance to see if it is missing for me also. > > There was another issue we ran into where the deposit was relying on > a response which was never generated; checking the SWORD > documentation confirmed that such a response was desired but not > mandatory so I hacked around it. I can't remember the specifics of > the issue but when I get a chance I'll push my changes to the main > source code repo and update you. > > Cheers > > > Hayden > > On 22/06/12 10:34, Kathi Fletcher wrote: >> >> Hi Hayden, >> >> Thanks for the pointer. We will try that. >> >> I also submitted a bug about the service document not having the >> encoding listed and not being UTF-8, which is the default. The >> SWORD version was also missing. I must review the spec to see if >> that is required or not. >> >> These comments apply to the demo server. I don't know if it applies >> to all instances of DSpace. Did you run in to that? We are able to >> work around those, but in a very hackish way. >> >> Kathi >> >> On Thu, Jun 21, 2012 at 6:00 PM, Hayden Young >> <hay...@wi...> wrote: >> We had to deposit metadata and content separately for our PHP sword >> deposit app to work with DSpace. >> >> depositAtomEntry to deposit the metadata, >> addExtraFileToMediaResource to deposit the assets, >> completeIncompleteDeposit to complete the deposit and have it show >> up in workflow. >> >> I can send you our source code if you require it. >> >> Cheers >> >> Hayden >> >> >> On 22/06/12 06:30, Kathi Fletcher wrote: >>> >>> So that means that we should instead do the deposit of metadata >>> and content separately? -- Kathi >>> >>> On Thu, Jun 21, 2012 at 4:45 PM, Richard Jones <ri...@co... >>> > wrote: >>> Hi Kathy, >>> >>> Multipart doesn't currently work in DSpace, unfortunately. There >>> was >>> an issue with the Abdera server that the implementation is based on >>> that we haven't been able to resolve. >>> >>> Cheers, >>> >>> Richard >>> >>> On 21 June 2012 22:27, Kathi Fletcher <Kat...@gm...> >>> wrote: >>> > Hello, >>> > >>> > We are attempting to test our SWORDV2 client against >>> demo.dspace.org which >>> > is running DSpace 1.8.3. >>> > >>> > When using our client, or a curl command line with multipart, we >>> get "The >>> > server encountered an internal error () that prevented it from >>> fulfilling >>> > this request.</u></p><p><b>exception</b> >>> > <pre>javax.servlet.ServletException: >>> > org.apache.commons.fileupload.FileUploadException: Header >>> section has more >>> > than 10240 bytes (maybe it is not properly terminated" >>> > >>> > but the same file and boundary do work with Connexions, so I >>> just wanted to >>> > confirm that others are successfully using multipart deposits >>> with the demo >>> > dspace server before we try to dig in further. >>> > >>> > Kathi >>> > >>> > -- >>> > Katherine Fletcher, kat...@gm... >>> > Twitter: kefletcher Blog: kefletcher.blogspot.com >>> > >>> > >>> > >>> > >>> > >>> ------------------------------------------------------------------------------ >>> > Live Security Virtual Conference >>> > Exclusive live event will cover all the ways today's security and >>> > threat landscape has changed and how IT managers can respond. >>> Discussions >>> > will include endpoint security, mobile security and the latest >>> in malware >>> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> > _______________________________________________ >>> > sword-app-tech mailing list >>> > swo...@li... >>> > https://lists.sourceforge.net/lists/listinfo/sword-app-tech >>> > >>> >>> >>> >>> -- >>> >>> Richard Jones, >>> >>> Founder, Cottage Labs >>> t: @richard_d_jones, @cottagelabs >>> w: http://cottagelabs.com >>> >>> >>> >>> -- >>> Katherine Fletcher, kat...@gm... >>> Twitter: kefletcher >>> Blog: kefletcher.blogspot.com >>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. >>> Discussions >>> will include endpoint security, mobile security and the latest in >>> malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> >>> >>> _______________________________________________ >>> sword-app-tech mailing list >>> swo...@li... >>> https://lists.sourceforge.net/lists/listinfo/sword-app-tech >> >> -- >> Hayden Young >> Managing Director >> Wijiti Pty Ltd >> p. +61 (0) 8 6398 5010 >> e. hay...@wi... >> w. www.wijiti.com >> vcard. www.wijiti.com/vcard/haydenyoung.vcf >> >> NOTICE >> This e-mail and any attachments are intended for the addressee(s) >> only and may be confidential. They may contain legally privileged >> or copyright material. You should not read, copy, use or disclose >> them without authorization. If you are not the intended recipient >> please contact the sender as soon as possible by return e-mail and >> then please delete both messages. This notice should not be removed. >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. >> Discussions >> will include endpoint security, mobile security and the latest in >> malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> sword-app-tech mailing list >> swo...@li... >> https://lists.sourceforge.net/lists/listinfo/sword-app-tech >> >> >> >> >> -- >> Katherine Fletcher, kat...@gm... >> Twitter: kefletcher Blog: >> kefletcher.blogspot.com >> >> >> > > -- > Hayden Young > Managing Director > Wijiti Pty Ltd > p. +61 (0) 8 6398 5010 > e. hay...@wi... > w. www.wijiti.com > vcard. www.wijiti.com/vcard/haydenyoung.vcf > > NOTICE > This e-mail and any attachments are intended for the addressee(s) > only and may be confidential. They may contain legally privileged or > copyright material. You should not read, copy, use or disclose them > without authorization. If you are not the intended recipient please > contact the sender as soon as possible by return e-mail and then > please delete both messages. This notice should not be removed. > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions > will include endpoint security, mobile security and the latest in > malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech |
From: Hayden Y. <hay...@wi...> - 2012-06-22 04:17:34
|
Yes I noticed the sword version was missing although it didn't seem to impact on our ability to submit to the repository. Don't know about the encoding issue; I'll check our service document when I get a chance to see if it is missing for me also. There was another issue we ran into where the deposit was relying on a response which was never generated; checking the SWORD documentation confirmed that such a response was desired but not mandatory so I hacked around it. I can't remember the specifics of the issue but when I get a chance I'll push my changes to the main source code repo and update you. Cheers Hayden On 22/06/12 10:34, Kathi Fletcher wrote: > Hi Hayden, > > Thanks for the pointer. We will try that. > > I also submitted a bug about the service document not having the > encoding listed and not being UTF-8, which is the default. The SWORD > version was also missing. I must review the spec to see if that is > required or not. > > These comments apply to the demo server. I don't know if it applies to > all instances of DSpace. Did you run in to that? We are able to work > around those, but in a very hackish way. > > Kathi > > On Thu, Jun 21, 2012 at 6:00 PM, Hayden Young <hay...@wi... > <mailto:hay...@wi...>> wrote: > > We had to deposit metadata and content separately for our PHP > sword deposit app to work with DSpace. > > depositAtomEntry to deposit the metadata, > addExtraFileToMediaResource to deposit the assets, > completeIncompleteDeposit to complete the deposit and have it show > up in workflow. > > I can send you our source code if you require it. > > Cheers > > Hayden > > > On 22/06/12 06:30, Kathi Fletcher wrote: >> So that means that we should instead do the deposit of metadata >> and content separately? -- Kathi >> >> On Thu, Jun 21, 2012 at 4:45 PM, Richard Jones >> <ri...@co... <mailto:ri...@co...>> wrote: >> >> Hi Kathy, >> >> Multipart doesn't currently work in DSpace, unfortunately. >> There was >> an issue with the Abdera server that the implementation is >> based on >> that we haven't been able to resolve. >> >> Cheers, >> >> Richard >> >> On 21 June 2012 22:27, Kathi Fletcher >> <Kat...@gm... <mailto:Kat...@gm...>> >> wrote: >> > Hello, >> > >> > We are attempting to test our SWORDV2 client against >> demo.dspace.org <http://demo.dspace.org> which >> > is running DSpace 1.8.3. >> > >> > When using our client, or a curl command line with >> multipart, we get "The >> > server encountered an internal error () that prevented it >> from fulfilling >> > this request.</u></p><p><b>exception</b> >> > <pre>javax.servlet.ServletException: >> > org.apache.commons.fileupload.FileUploadException: Header >> section has more >> > than 10240 bytes (maybe it is not properly terminated" >> > >> > but the same file and boundary do work with Connexions, so >> I just wanted to >> > confirm that others are successfully using multipart >> deposits with the demo >> > dspace server before we try to dig in further. >> > >> > Kathi >> > >> > -- >> > Katherine Fletcher, kat...@gm... >> <mailto:kat...@gm...> >> > Twitter: kefletcher Blog: kefletcher.blogspot.com >> <http://kefletcher.blogspot.com> >> > >> > >> > >> > >> > >> ------------------------------------------------------------------------------ >> > Live Security Virtual Conference >> > Exclusive live event will cover all the ways today's >> security and >> > threat landscape has changed and how IT managers can >> respond. Discussions >> > will include endpoint security, mobile security and the >> latest in malware >> > threats. >> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> > _______________________________________________ >> > sword-app-tech mailing list >> > swo...@li... >> <mailto:swo...@li...> >> > https://lists.sourceforge.net/lists/listinfo/sword-app-tech >> > >> >> >> >> -- >> >> Richard Jones, >> >> Founder, Cottage Labs >> t: @richard_d_jones, @cottagelabs >> w: http://cottagelabs.com >> >> >> >> >> -- >> Katherine Fletcher, kat...@gm... >> <mailto:kat...@gm...> >> Twitter: kefletcher <http://www.twitter.com/kefletcher> Blog: >> kefletcher.blogspot.com <http://kefletcher.blogspot.com/> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> >> _______________________________________________ >> sword-app-tech mailing list >> swo...@li... <mailto:swo...@li...> >> https://lists.sourceforge.net/lists/listinfo/sword-app-tech > > -- > Hayden Young > Managing Director > Wijiti Pty Ltd > p.+61 (0) 8 6398 5010 <tel:%2B61%20%280%29%208%206398%205010> > e.h...@wi... <mailto:hay...@wi...> > w.www.wijiti.com <http://www.wijiti.com> > vcard.www.wijiti.com/vcard/haydenyoung.vcf <http://www.wijiti.com/vcard/haydenyoung.vcf> > > NOTICE > This e-mail and any attachments are intended for the addressee(s) only and may be confidential. They may contain legally privileged or copyright material. You should not read, copy, use or disclose them without authorization. If you are not the intended recipient please contact the sender as soon as possible by return e-mail and then please delete both messages. This notice should not be removed. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions > will include endpoint security, mobile security and the latest in > malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > sword-app-tech mailing list > swo...@li... > <mailto:swo...@li...> > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > > > > > -- > Katherine Fletcher, kat...@gm... > <mailto:kat...@gm...> > Twitter: kefletcher <http://www.twitter.com/kefletcher> Blog: > kefletcher.blogspot.com <http://kefletcher.blogspot.com/> > > > -- Hayden Young Managing Director Wijiti Pty Ltd p. +61 (0) 8 6398 5010 e. hay...@wi... w. www.wijiti.com vcard. www.wijiti.com/vcard/haydenyoung.vcf NOTICE This e-mail and any attachments are intended for the addressee(s) only and may be confidential. They may contain legally privileged or copyright material. You should not read, copy, use or disclose them without authorization. If you are not the intended recipient please contact the sender as soon as possible by return e-mail and then please delete both messages. This notice should not be removed. |
From: Kathi F. <Kat...@gm...> - 2012-06-22 02:34:38
|
Hi Hayden, Thanks for the pointer. We will try that. I also submitted a bug about the service document not having the encoding listed and not being UTF-8, which is the default. The SWORD version was also missing. I must review the spec to see if that is required or not. These comments apply to the demo server. I don't know if it applies to all instances of DSpace. Did you run in to that? We are able to work around those, but in a very hackish way. Kathi On Thu, Jun 21, 2012 at 6:00 PM, Hayden Young <hay...@wi...>wrote: > We had to deposit metadata and content separately for our PHP sword > deposit app to work with DSpace. > > depositAtomEntry to deposit the metadata, > addExtraFileToMediaResource to deposit the assets, > completeIncompleteDeposit to complete the deposit and have it show up in > workflow. > > I can send you our source code if you require it. > > Cheers > > Hayden > > > On 22/06/12 06:30, Kathi Fletcher wrote: > > So that means that we should instead do the deposit of metadata and > content separately? -- Kathi > > On Thu, Jun 21, 2012 at 4:45 PM, Richard Jones <ri...@co...>wrote: > >> Hi Kathy, >> >> Multipart doesn't currently work in DSpace, unfortunately. There was >> an issue with the Abdera server that the implementation is based on >> that we haven't been able to resolve. >> >> Cheers, >> >> Richard >> >> On 21 June 2012 22:27, Kathi Fletcher <Kat...@gm...> wrote: >> > Hello, >> > >> > We are attempting to test our SWORDV2 client against demo.dspace.orgwhich >> > is running DSpace 1.8.3. >> > >> > When using our client, or a curl command line with multipart, we get >> "The >> > server encountered an internal error () that prevented it from >> fulfilling >> > this request.</u></p><p><b>exception</b> >> > <pre>javax.servlet.ServletException: >> > org.apache.commons.fileupload.FileUploadException: Header section has >> more >> > than 10240 bytes (maybe it is not properly terminated" >> > >> > but the same file and boundary do work with Connexions, so I just >> wanted to >> > confirm that others are successfully using multipart deposits with the >> demo >> > dspace server before we try to dig in further. >> > >> > Kathi >> > >> > -- >> > Katherine Fletcher, kat...@gm... >> > Twitter: kefletcher Blog: kefletcher.blogspot.com >> > >> > >> > >> > >> > >> ------------------------------------------------------------------------------ >> > Live Security Virtual Conference >> > Exclusive live event will cover all the ways today's security and >> > threat landscape has changed and how IT managers can respond. >> Discussions >> > will include endpoint security, mobile security and the latest in >> malware >> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> > _______________________________________________ >> > sword-app-tech mailing list >> > swo...@li... >> > https://lists.sourceforge.net/lists/listinfo/sword-app-tech >> > >> >> >> >> -- >> >> Richard Jones, >> >> Founder, Cottage Labs >> t: @richard_d_jones, @cottagelabs >> w: http://cottagelabs.com >> > > > > -- > Katherine Fletcher, kat...@gm... > Twitter: kefletcher <http://www.twitter.com/kefletcher> Blog: > kefletcher.blogspot.com > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > sword-app-tech mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/sword-app-tech > > > -- > Hayden Young > Managing Director > Wijiti Pty Ltd > p. +61 (0) 8 6398 5010 > e. hay...@wi... > w. www.wijiti.com > vcard. www.wijiti.com/vcard/haydenyoung.vcf > > NOTICE > This e-mail and any attachments are intended for the addressee(s) only and may be confidential. They may contain legally privileged or copyright material. You should not read, copy, use or disclose them without authorization. If you are not the intended recipient please contact the sender as soon as possible by return e-mail and then please delete both messages. This notice should not be removed. > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > > -- Katherine Fletcher, kat...@gm... <kat...@gm...> Twitter: kefletcher <http://www.twitter.com/kefletcher> Blog: kefletcher.blogspot.com <kat...@gm...> |
From: Hayden Y. <hay...@wi...> - 2012-06-21 23:00:42
|
We had to deposit metadata and content separately for our PHP sword deposit app to work with DSpace. depositAtomEntry to deposit the metadata, addExtraFileToMediaResource to deposit the assets, completeIncompleteDeposit to complete the deposit and have it show up in workflow. I can send you our source code if you require it. Cheers Hayden On 22/06/12 06:30, Kathi Fletcher wrote: > So that means that we should instead do the deposit of metadata and > content separately? -- Kathi > > On Thu, Jun 21, 2012 at 4:45 PM, Richard Jones > <ri...@co... <mailto:ri...@co...>> wrote: > > Hi Kathy, > > Multipart doesn't currently work in DSpace, unfortunately. There was > an issue with the Abdera server that the implementation is based on > that we haven't been able to resolve. > > Cheers, > > Richard > > On 21 June 2012 22:27, Kathi Fletcher <Kat...@gm... > <mailto:Kat...@gm...>> wrote: > > Hello, > > > > We are attempting to test our SWORDV2 client against > demo.dspace.org <http://demo.dspace.org> which > > is running DSpace 1.8.3. > > > > When using our client, or a curl command line with multipart, we > get "The > > server encountered an internal error () that prevented it from > fulfilling > > this request.</u></p><p><b>exception</b> > > <pre>javax.servlet.ServletException: > > org.apache.commons.fileupload.FileUploadException: Header > section has more > > than 10240 bytes (maybe it is not properly terminated" > > > > but the same file and boundary do work with Connexions, so I > just wanted to > > confirm that others are successfully using multipart deposits > with the demo > > dspace server before we try to dig in further. > > > > Kathi > > > > -- > > Katherine Fletcher, kat...@gm... > <mailto:kat...@gm...> > > Twitter: kefletcher Blog: kefletcher.blogspot.com > <http://kefletcher.blogspot.com> > > > > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. > Discussions > > will include endpoint security, mobile security and the latest > in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > sword-app-tech mailing list > > swo...@li... > <mailto:swo...@li...> > > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > > > > > > -- > > Richard Jones, > > Founder, Cottage Labs > t: @richard_d_jones, @cottagelabs > w: http://cottagelabs.com > > > > > -- > Katherine Fletcher, kat...@gm... > <mailto:kat...@gm...> > Twitter: kefletcher <http://www.twitter.com/kefletcher> Blog: > kefletcher.blogspot.com <http://kefletcher.blogspot.com/> > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech -- Hayden Young Managing Director Wijiti Pty Ltd p. +61 (0) 8 6398 5010 e. hay...@wi... w. www.wijiti.com vcard. www.wijiti.com/vcard/haydenyoung.vcf NOTICE This e-mail and any attachments are intended for the addressee(s) only and may be confidential. They may contain legally privileged or copyright material. You should not read, copy, use or disclose them without authorization. If you are not the intended recipient please contact the sender as soon as possible by return e-mail and then please delete both messages. This notice should not be removed. |
From: Richard J. <ri...@co...> - 2012-06-21 22:50:24
|
Hi Kathy, Multipart doesn't currently work in DSpace, unfortunately. There was an issue with the Abdera server that the implementation is based on that we haven't been able to resolve. Cheers, Richard On 21 June 2012 22:27, Kathi Fletcher <Kat...@gm...> wrote: > Hello, > > We are attempting to test our SWORDV2 client against demo.dspace.org which > is running DSpace 1.8.3. > > When using our client, or a curl command line with multipart, we get "The > server encountered an internal error () that prevented it from fulfilling > this request.</u></p><p><b>exception</b> > <pre>javax.servlet.ServletException: > org.apache.commons.fileupload.FileUploadException: Header section has more > than 10240 bytes (maybe it is not properly terminated" > > but the same file and boundary do work with Connexions, so I just wanted to > confirm that others are successfully using multipart deposits with the demo > dspace server before we try to dig in further. > > Kathi > > -- > Katherine Fletcher, kat...@gm... > Twitter: kefletcher Blog: kefletcher.blogspot.com > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > -- Richard Jones, Founder, Cottage Labs t: @richard_d_jones, @cottagelabs w: http://cottagelabs.com |
From: Kathi F. <Kat...@gm...> - 2012-06-21 22:31:04
|
So that means that we should instead do the deposit of metadata and content separately? -- Kathi On Thu, Jun 21, 2012 at 4:45 PM, Richard Jones <ri...@co...>wrote: > Hi Kathy, > > Multipart doesn't currently work in DSpace, unfortunately. There was > an issue with the Abdera server that the implementation is based on > that we haven't been able to resolve. > > Cheers, > > Richard > > On 21 June 2012 22:27, Kathi Fletcher <Kat...@gm...> wrote: > > Hello, > > > > We are attempting to test our SWORDV2 client against demo.dspace.orgwhich > > is running DSpace 1.8.3. > > > > When using our client, or a curl command line with multipart, we get > "The > > server encountered an internal error () that prevented it from fulfilling > > this request.</u></p><p><b>exception</b> > > <pre>javax.servlet.ServletException: > > org.apache.commons.fileupload.FileUploadException: Header section has > more > > than 10240 bytes (maybe it is not properly terminated" > > > > but the same file and boundary do work with Connexions, so I just wanted > to > > confirm that others are successfully using multipart deposits with the > demo > > dspace server before we try to dig in further. > > > > Kathi > > > > -- > > Katherine Fletcher, kat...@gm... > > Twitter: kefletcher Blog: kefletcher.blogspot.com > > > > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > sword-app-tech mailing list > > swo...@li... > > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > > > > > > -- > > Richard Jones, > > Founder, Cottage Labs > t: @richard_d_jones, @cottagelabs > w: http://cottagelabs.com > -- Katherine Fletcher, kat...@gm... <kat...@gm...> Twitter: kefletcher <http://www.twitter.com/kefletcher> Blog: kefletcher.blogspot.com <kat...@gm...> |
From: Zaharina S. <sto...@ul...> - 2012-06-15 12:42:48
|
Hi again, since there was no answer to my previous email I decided to write to the members of the list again. Actually the problem is not the parsing of the entry in the response but it is that the client decides to ask about the enter under the edit url which of course corresponds to the link of the deposited entry and therefore the sword client tries to parse the html code of the corresponding page as an AtomEntry - therefore it fails. When I look into the input stream of the reponse I find the corresponding atom entry although the getDocument() function of the ClientResponse does not give it back. Is this a bug or I am doing something wrong. I hope that I will get an answer to this. Thank you in advance, Zaharina > Hi, > > since at least one month I am trying to use the Java SWORD Client (for > SWORDv2) in order to deposit files in an EPrints repository. The deposit > part works correct and I get the following entry as an answer from server: > > <?xml version="1.0" encoding="utf-8" ?> > <entry xmlns="http://www.w3.org/2005/Atom" > xmlns:sword="http://purl.org/net/sword/"> > <link rel="self" > href="http://altar.tu-darmstadt.de/cgi/export/eprint/26/Atom/altar-eprint-26.xml" > /> > <link rel="edit" href="http://altar.tu-darmstadt.de/id/eprint/26" /> > <link rel="edit-media" > href="http://altar.tu-darmstadt.de/id/eprint/26/contents" /> > <link rel="contents" > href="http://altar.tu-darmstadt.de/id/eprint/26/contents" /> > <link rel="alternate" href="http://altar.tu-darmstadt.de/id/eprint/26" /> > <published /> > <updated>2012-06-06T07:11:51Z</updated> > <id>http://altar.tu-darmstadt.de/id/eprint/26</id> > <category term="article" label="Article" > scheme="http://altar.tu-darmstadt.de/data/eprint/type" /> > <category term="buffer" label="Under Review" > scheme="http://eprints.org/ep2/data/2.0/eprint/eprint_status" /> > <link rel="http://purl.org/net/sword/terms/statement" > href="http://altar.tu-darmstadt.de/id/eprint/26" /> > <sword:state > href="http://eprints.org/ep2/data/2.0/eprint/eprint_status/buffer" /> > <sword:stateDescription>This item is in review. It will not appear in > the repository until it has been approved by an > editor.</sword:stateDescription> > <sword:originalDeposit href="http://altar.tu-darmstadt.de/id/eprint/26"> > <sword:depositedOn /> > <sword:depositedBy>admin</sword:depositedBy> > </sword:originalDeposit> > <title type="xhtml">On Testing the Atom Protocol...</title> > <summary type="xhtml">This is where the abstract of this record would > appear. This is only demonstration data.</summary> > <author> > <name>Y. Lericolais</name> > <email /> > </author> > </entry> > > The problem is that this entry cannot be parsed internally from the > org.apache.abdera classes and I get the following exception: > > java.lang.ClassCastException: > org.apache.abdera.parser.stax.FOMExtensibleElement cannot be cast to > org.apache.abdera.model.Entry > at > org.swordapp.client.SWORDClient.getDepositReceipt(SWORDClient.java:1231) > at > org.swordapp.client.SWORDClient.getDepositReceipt(SWORDClient.java:1151) > at org.swordapp.client.SWORDClient.deposit(SWORDClient.java:375) > at org.swordapp.client.SWORDClient.deposit(SWORDClient.java:265) > at > org.swordapp.ExportToEPrintsViaSWORDv2.main(ExportToEPrintsViaSWORDv2.java:187) > > I tried with the Java SWORD Client (for SWORDv1) and I got no problems > but there as far as I know used completely different implementation for > parsing the <entry> tags. > > Do you have any idea where the problem with v2 can be and what can I do > to get this working properly? > > Thanks in advance, > Zaharina > -- Dipl.-Math. Zaharina Stoynova Universitäts- und Landesbibliothek Darmstadt Abteilung Elektronische Informationsdienste Schloß, 64283 Darmstadt Tel: +49 6151 16-58773 Fax: +49 6151 16-5897 |
From: Benjamin P. <ben...@gm...> - 2012-06-12 13:19:29
|
I apologize if this is already known, but while testing out the java implementation of the Sword2 server I found that the extraction of multipart/related deposit requests containing an atom entry and a content file could not read the individual file headers, resulting in a null pointer exception. The effected code is org.swordapp.server.SwordAPIEndpoint.getPartsFromRequest(HttpServletRequest) It turns out this is a bug in commons-fileupload 1.2.1 and 1.2.2 which they have patched in their 1.2.3 snapshot. In previous versions the library is simply not holding onto individual file headers even when told to do so. Rebuilding with the updated dependency fixes this issue. See: https://github.com/apache/commons-fileupload/commit/2e664e3003042a1ac5886b3ab121a1bc05a68a38 https://repository.apache.org/content/repositories/snapshots/commons-fileupload/commons-fileupload/1.2.3-SNAPSHOT/ One last minor thing, I also wanted to mention that getFilename and getName in the same class are slightly off in their trimming of trailing quotes. Thanks - Ben Pennell |
From: Lewatle P. <Lew...@wi...> - 2012-06-12 11:41:01
|
Hi Stuart I have attached copy of dspace.log file, I have also tried but I never succeeded Regards, Lewatle -----Original Message----- From: LEWIS Stuart [mailto:Stu...@ed...] Sent: 11 June 2012 08:19 PM To: Lewatle Phaladi Cc: swo...@li... Subject: Re: [sword-app-tech] Easydeposit errors Hi Lewatle, EasyDeposit should be zipping the PDF and adding a METS package to make the deposit package. If it is failing to deposit, it is likely a DSpace problem. Take a look in dspace.log or catalina.out to see if there is a stack trace shown. Hopefully this should help to diagnose the problem. Thanks, Stuart On 8 Jun 2012, at 10:32, "Lewatle Phaladi" <Lew...@wi...> wrote: > The file I am trying to upload is PDF format, could that be a problem for my deposit to fail, please advise, I can see Accepts: application/zip I am not sure if I have to upload zip file or edit somewhere in the config files. > > -----Original Message----- > From: Lewatle Phaladi > Sent: 08 June 2012 09:43 AM > To: 'LEWIS Stuart'; swo...@li... > Subject: RE: [sword-app-tech] Easydeposit errors > > Hi Stuart > > Thanks I have managed to log on, the only problem I have revealed when I start doing item deposit, please see attached screenshot of the error. > > Regards, > Lewatle > > -----Original Message----- > From: LEWIS Stuart [mailto:Stu...@ed...] > Sent: 07 June 2012 05:44 PM > To: swo...@li... > Subject: Re: [sword-app-tech] Easydeposit errors > > Hi Lewatle, > > The default username and password are both easydepositadmin. You can either change it in the configuration file (use the MD5 checksum of the password) or once you have logged in, there is an option to change it in the administrative interface. > > Thanks, > > > Stuart > > > > -- > The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. > > > -----Original Message----- > From: Lewatle Phaladi [mailto:Lew...@wi...] > Sent: 07 June 2012 15:19 > To: LEWIS Stuart > Cc: swo...@li... > Subject: RE: [sword-app-tech] Easydeposit errors > > At the moment I am pausing on attached log in screen , I never created > password for admin log in, where should I create login details, I have > saw the following directives in easydeposit.php file > > $config['easydeposit_adminusername'] = 'easydepositadmin'; > $config['easydeposit_adminpassword'] = > '6da12e83ef06d1d59884a5ca724cbc75'; > > Can I edit : $config['easydeposit_adminpassword'] = 'mypassword'; > > Regards, > Lewatle > > -----Original Message----- > From: LEWIS Stuart [mailto:Stu...@ed...] > Sent: 07 June 2012 03:26 PM > To: swo...@li... > Subject: Re: [sword-app-tech] Easydeposit errors > > Hi Lewatle, > > It could be related to your mod_rewrite settings and the .htaccess file. You need to have mod_rewrite enabled if possible: > > - http://easydeposit.swordapp.org/instructions/mod_rewrite/ > > Thanks, > > > Stuart > > > > From: Lewatle Phaladi [mailto:Lew...@wi...] > Sent: 07 June 2012 14:08 > To: swo...@li... > Subject: [sword-app-tech] Easydeposit errors > > Good Day > > I am configuring easydeposit, and I got some errors when I click on administrative interface, I have followed installation steps from this link http://easydeposit.swordapp.org/instructions/installation-instructions/ , please advise as what file do I need to edit. > See attached screen shots. > > Regards, > Lewatle > > > This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary. > > > -- > The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. > > ---------------------------------------------------------------------- > -------- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions will include endpoint security, mobile security and the > latest in malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > > <html><p><font face = "verdana" size = "0.8" color = "navy">This > communication is intended for the addressee only. It is confidential. > If you have received this communication in error, please notify us > immediately and destroy the original message. You may not copy or > disseminate this communication without the permission of the > University. Only authorized signatories are competent to enter into > agreements on behalf of the University and recipients are thus advised > that the content of this message may not be legally binding on the > University and may contain the personal views and opinions of the > author, which are not necessarily the views and opinions of The > University of the Witwatersrand, Johannesburg. All agreements between > the University and outsiders are subject to South African Law unless > the University agrees in writing to the contrary.</font></p></html> > ---------------------------------------------------------------------- > -------- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions will include endpoint security, mobile security and the > latest in malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > > <html><p><font face = "verdana" size = "0.8" color = "navy">This > communication is intended for the addressee only. It is confidential. > If you have received this communication in error, please notify us > immediately and destroy the original message. You may not copy or > disseminate this communication without the permission of the > University. Only authorized signatories are competent to enter into > agreements on behalf of the University and recipients are thus advised > that the content of this message may not be legally binding on the > University and may contain the personal views and opinions of the > author, which are not necessarily the views and opinions of The > University of the Witwatersrand, Johannesburg. All agreements between > the University and outsiders are subject to South African Law unless > the University agrees in writing to the contrary.</font></p></html> > <sword-deposit.png> <sword-collections.png> -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. <html><p><font face = "verdana" size = "0.8" color = "navy">This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary.</font></p></html> |
From: LEWIS S. <Stu...@ed...> - 2012-06-11 18:22:51
|
Hi Surinder, Have you tried the SWORD v1 implementation in DSpace instead? While it isn't as fully-featured, it is a little more stable. Yu can also try submitting to DSpace using SWORD and curl which can help diagnose problems as you can see the raw HTTP responses. Thanks, Stuart On 11 Jun 2012, at 09:39, "Surinder Kumar" <su...@ni...<mailto:su...@ni...>> wrote: As I was testing easy deposit with swordv2. Everythinh went well. At the end, ' Thank you Page' It is giving the error "An error has occurred with your deposit. Please contact su...@ex...<https://mail.google.com/mail/h/12xlgc9812n69/?&v=b&cs=wh&to=su...@ex...> for assistance, quoting reference '705000911'.". I could not find any error in dspace.log. thanks Surinder Kumar NIC, New Delhi From: Wellaway, Ian<mailto:I.J...@ex...> Sent: Friday, June 01, 2012 2:34 PM To: 'LEWIS Stuart'<mailto:Stu...@ed...> ; 'swo...@li...'<mailto:'swo...@li...'> Subject: Re: [sword-app-tech] Sword v2 - enabling and pdating archived items indspace Hi, Apologies for the delay in response. I’ve attached the catalina our from this morning when I’ve restarted tomcat a few times. The most notable entry seems to be: 01-Jun-2012 09:46:36 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [/swordv2] registered the JDBC driver [oracle.jdbc.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. Any ideas? Thanks Ian ------------ Ian Wellaway Senior System Support & Development Officer - Academic Systems (Room 911) Wednesdays only & Technical Developer, Open Exeter - Infrastructure Systems (Room 54) Monday - Tuesday, Thursday - Friday Exeter IT Laver Building University of Exeter EX4 4QE UK tel +44 1392 722852 From: LEWIS Stuart [mailto:Stu...@ed...] Sent: 29 May 2012 15:05 To: Wellaway, Ian Subject: RE: [sword-app-tech] Sword v2 - enabling and pdating archived items in dspace Anything in tomcat’s logs, or catalina.out ? From: Wellaway, Ian [mailto:I.J...@ex...] Sent: 29 May 2012 15:02 To: LEWIS Stuart; 'swo...@li...<mailto:swo...@li...>' Subject: RE: [sword-app-tech] Sword v2 - enabling and pdating archived items in dspace Thanks Stuart. I get the following dspace log entry when trying to get to sword: 2012-05-29 14:58:36,363 INFO org.dspace.sword.DSpaceSWORDServer @ i.j...@ex...:session_id=0:ip_addr=144.173.92.60:sword_service_document_request:username=ijwellaw,on_behalf_of=null<mailto:i.j...@ex...:session_id=0:ip_addr=144.173.92.60:sword_service_document_request:username=ijwellaw,on_behalf_of=null> BUT nothing when attempting the URL for swordv2. http://vmerdmsdspace01.ex.ac.uk/sword/servicedocument http://vmerdmsdspace01.ex.ac.uk/swordv2/servicedocument I’ve also attached the swordv2-server.cfg. Finally, these are the entries in server.xml: <!-- DEFINE A CONTEXT PATH FOR DSpace sword --> <Context path="/sword" docBase="/opt/dspace/webapps/sword" debug="1" reloadable="true" cachingAllowed="false" allowLinking="true"/> <!-- DEFINE A CONTEXT PATH FOR DSpace swordv2 --> <Context path="/swordv2" docBase="/opt/dspace/webapps/swordv2" debug="1" reloadable="true" cachingAllowed="false" allowLinking="true"/> Best regards Ian ------------ Ian Wellaway Senior System Support & Development Officer - Academic Systems (Room 911) Wednesdays only & Technical Developer, Open Exeter - Infrastructure Systems (Room 54) Monday - Tuesday, Thursday - Friday Exeter IT Laver Building University of Exeter EX4 4QE UK tel +44 1392 722852 From: LEWIS Stuart [mailto:Stu...@ed...]<mailto:[mailto:Stu...@ed...]> Sent: 29 May 2012 14:56 To: Wellaway, Ian; 'swo...@li...<mailto:swo...@li...>' Subject: RE: [sword-app-tech] Sword v2 - enabling and pdating archived items in dspace Hi Ian, Are you able to give any further details about the SWORD v2 service document not working? Are there any error messages, or dspace.log entries? Sometimes using a tool such as curl can help with this instead of a browser. For your second question – SWORD v2 has no notion of workflow, and allows updates at any point. It is up to the implementation to define a policy if it wants to restrict this. By default the DSpace implementation will not allow items that have completed workflow to be edited via SWORD. This can be changed with a small amount of effort by defining a new management policy. You can see the default policy at: https://github.com/DSpace/DSpace/blob/master/dspace-swordv2/src/main/java/org/dspace/sword2/WorkflowManagerDefault.java You can update this, or create a new version. The class to use is configured in [dspace]/config/modules/swordv2-config.xml: plugin.single.org.dspace.sword2.WorkflowManager = \ org.dspace.sword2.WorkflowManagerDefault I hope this helps, Stuart Lewis Head of Digital Library Services The University of Edinburgh Library Stu...@ed...<mailto:Stu...@ed...> Stuart From: Wellaway, Ian [mailto:I.J...@ex...] Sent: 29 May 2012 14:38 To: 'swo...@li...<mailto:swo...@li...>' Subject: [sword-app-tech] Sword v2 - enabling and pdating archived items in dspace Hi, New to this list and I have some pretty basic questions: Firstly, we’re setting up a new DSpace repository for research data, and are looking at using sword 2. I’ve upgraded our dspace version to 1.8 and sword seems to be working fine (returning the service document as you’d expect). However, I can’t get the service document for sword 2. I’ve amended the cfg file and defined a path in the tomcat server.xml file, exactly as I have done for the original sword module but it won’t work. Any ideas what I might be doing wrong? Secondly, does Swordv2 allow the user to amend items they have previously submitted and that have gone through the workflow process and are in the archive? This is quite important to us since we want to create a user interface that allows users to amend their items if they need to, such as if they want to add another file or amend some metadata in the repository. Thanks in advance for this. Ian ------------ Ian Wellaway Senior System Support & Development Officer - Academic Systems (Room 911) Wednesdays only & Technical Developer, Open Exeter - Infrastructure Systems (Room 54) Monday - Tuesday, Thursday - Friday Exeter IT Laver Building University of Exeter EX4 4QE UK tel +44 1392 722852 ________________________________ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ________________________________ _______________________________________________ sword-app-tech mailing list swo...@li...<mailto:swo...@li...> https://lists.sourceforge.net/lists/listinfo/sword-app-tech -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. |
From: LEWIS S. <Stu...@ed...> - 2012-06-11 18:21:15
|
Hi Lewatle, EasyDeposit should be zipping the PDF and adding a METS package to make the deposit package. If it is failing to deposit, it is likely a DSpace problem. Take a look in dspace.log or catalina.out to see if there is a stack trace shown. Hopefully this should help to diagnose the problem. Thanks, Stuart On 8 Jun 2012, at 10:32, "Lewatle Phaladi" <Lew...@wi...> wrote: > The file I am trying to upload is PDF format, could that be a problem for my deposit to fail, please advise, I can see Accepts: application/zip I am not sure if I have to upload zip file or edit somewhere in the config files. > > -----Original Message----- > From: Lewatle Phaladi > Sent: 08 June 2012 09:43 AM > To: 'LEWIS Stuart'; swo...@li... > Subject: RE: [sword-app-tech] Easydeposit errors > > Hi Stuart > > Thanks I have managed to log on, the only problem I have revealed when I start doing item deposit, please see attached screenshot of the error. > > Regards, > Lewatle > > -----Original Message----- > From: LEWIS Stuart [mailto:Stu...@ed...] > Sent: 07 June 2012 05:44 PM > To: swo...@li... > Subject: Re: [sword-app-tech] Easydeposit errors > > Hi Lewatle, > > The default username and password are both easydepositadmin. You can either change it in the configuration file (use the MD5 checksum of the password) or once you have logged in, there is an option to change it in the administrative interface. > > Thanks, > > > Stuart > > > > -- > The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. > > > -----Original Message----- > From: Lewatle Phaladi [mailto:Lew...@wi...] > Sent: 07 June 2012 15:19 > To: LEWIS Stuart > Cc: swo...@li... > Subject: RE: [sword-app-tech] Easydeposit errors > > At the moment I am pausing on attached log in screen , I never created password for admin log in, where should I create login details, I have saw the following directives in easydeposit.php file > > $config['easydeposit_adminusername'] = 'easydepositadmin'; $config['easydeposit_adminpassword'] = '6da12e83ef06d1d59884a5ca724cbc75'; > > Can I edit : $config['easydeposit_adminpassword'] = 'mypassword'; > > Regards, > Lewatle > > -----Original Message----- > From: LEWIS Stuart [mailto:Stu...@ed...] > Sent: 07 June 2012 03:26 PM > To: swo...@li... > Subject: Re: [sword-app-tech] Easydeposit errors > > Hi Lewatle, > > It could be related to your mod_rewrite settings and the .htaccess file. You need to have mod_rewrite enabled if possible: > > - http://easydeposit.swordapp.org/instructions/mod_rewrite/ > > Thanks, > > > Stuart > > > > From: Lewatle Phaladi [mailto:Lew...@wi...] > Sent: 07 June 2012 14:08 > To: swo...@li... > Subject: [sword-app-tech] Easydeposit errors > > Good Day > > I am configuring easydeposit, and I got some errors when I click on administrative interface, I have followed installation steps from this link http://easydeposit.swordapp.org/instructions/installation-instructions/ , please advise as what file do I need to edit. > See attached screen shots. > > Regards, > Lewatle > > > This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary. > > > -- > The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > > <html><p><font face = "verdana" size = "0.8" color = "navy">This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary.</font></p></html> > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > sword-app-tech mailing list > swo...@li... > https://lists.sourceforge.net/lists/listinfo/sword-app-tech > > <html><p><font face = "verdana" size = "0.8" color = "navy">This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary.</font></p></html> > <sword-deposit.png> > <sword-collections.png> -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. |
From: Surinder K. <su...@ni...> - 2012-06-11 08:38:01
|
As I was testing easy deposit with swordv2. Everythinh went well. At the end, ' Thank you Page' It is giving the error "An error has occurred with your deposit. Please contact su...@ex... for assistance, quoting reference '705000911'.". I could not find any error in dspace.log. thanks Surinder Kumar NIC, New Delhi From: Wellaway, Ian Sent: Friday, June 01, 2012 2:34 PM To: 'LEWIS Stuart' ; 'swo...@li...' Subject: Re: [sword-app-tech] Sword v2 - enabling and pdating archived items indspace Hi, Apologies for the delay in response. I've attached the catalina our from this morning when I've restarted tomcat a few times. The most notable entry seems to be: 01-Jun-2012 09:46:36 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc SEVERE: The web application [/swordv2] registered the JDBC driver [oracle.jdbc.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. Any ideas? Thanks Ian ------------ Ian Wellaway Senior System Support & Development Officer - Academic Systems (Room 911) Wednesdays only & Technical Developer, Open Exeter - Infrastructure Systems (Room 54) Monday - Tuesday, Thursday - Friday Exeter IT Laver Building University of Exeter EX4 4QE UK tel +44 1392 722852 From: LEWIS Stuart [mailto:Stu...@ed...] Sent: 29 May 2012 15:05 To: Wellaway, Ian Subject: RE: [sword-app-tech] Sword v2 - enabling and pdating archived items in dspace Anything in tomcat's logs, or catalina.out ? From: Wellaway, Ian [mailto:I.J...@ex...] Sent: 29 May 2012 15:02 To: LEWIS Stuart; 'swo...@li...' Subject: RE: [sword-app-tech] Sword v2 - enabling and pdating archived items in dspace Thanks Stuart. I get the following dspace log entry when trying to get to sword: 2012-05-29 14:58:36,363 INFO org.dspace.sword.DSpaceSWORDServer @ i.j...@ex...:session_id=0:ip_addr=144.173.92.60:sword_service_document_request:username=ijwellaw,on_behalf_of=null BUT nothing when attempting the URL for swordv2. http://vmerdmsdspace01.ex.ac.uk/sword/servicedocument http://vmerdmsdspace01.ex.ac.uk/swordv2/servicedocument I've also attached the swordv2-server.cfg. Finally, these are the entries in server.xml: <!-- DEFINE A CONTEXT PATH FOR DSpace sword --> <Context path="/sword" docBase="/opt/dspace/webapps/sword" debug="1" reloadable="true" cachingAllowed="false" allowLinking="true"/> <!-- DEFINE A CONTEXT PATH FOR DSpace swordv2 --> <Context path="/swordv2" docBase="/opt/dspace/webapps/swordv2" debug="1" reloadable="true" cachingAllowed="false" allowLinking="true"/> Best regards Ian ------------ Ian Wellaway Senior System Support & Development Officer - Academic Systems (Room 911) Wednesdays only & Technical Developer, Open Exeter - Infrastructure Systems (Room 54) Monday - Tuesday, Thursday - Friday Exeter IT Laver Building University of Exeter EX4 4QE UK tel +44 1392 722852 From: LEWIS Stuart [mailto:Stu...@ed...] Sent: 29 May 2012 14:56 To: Wellaway, Ian; 'swo...@li...' Subject: RE: [sword-app-tech] Sword v2 - enabling and pdating archived items in dspace Hi Ian, Are you able to give any further details about the SWORD v2 service document not working? Are there any error messages, or dspace.log entries? Sometimes using a tool such as curl can help with this instead of a browser. For your second question - SWORD v2 has no notion of workflow, and allows updates at any point. It is up to the implementation to define a policy if it wants to restrict this. By default the DSpace implementation will not allow items that have completed workflow to be edited via SWORD. This can be changed with a small amount of effort by defining a new management policy. You can see the default policy at: https://github.com/DSpace/DSpace/blob/master/dspace-swordv2/src/main/java/org/dspace/sword2/WorkflowManagerDefault.java You can update this, or create a new version. The class to use is configured in [dspace]/config/modules/swordv2-config.xml: plugin.single.org.dspace.sword2.WorkflowManager = \ org.dspace.sword2.WorkflowManagerDefault I hope this helps, Stuart Lewis Head of Digital Library Services The University of Edinburgh Library Stu...@ed... Stuart From: Wellaway, Ian [mailto:I.J...@ex...] Sent: 29 May 2012 14:38 To: 'swo...@li...' Subject: [sword-app-tech] Sword v2 - enabling and pdating archived items in dspace Hi, New to this list and I have some pretty basic questions: Firstly, we're setting up a new DSpace repository for research data, and are looking at using sword 2. I've upgraded our dspace version to 1.8 and sword seems to be working fine (returning the service document as you'd expect). However, I can't get the service document for sword 2. I've amended the cfg file and defined a path in the tomcat server.xml file, exactly as I have done for the original sword module but it won't work. Any ideas what I might be doing wrong? Secondly, does Swordv2 allow the user to amend items they have previously submitted and that have gone through the workflow process and are in the archive? This is quite important to us since we want to create a user interface that allows users to amend their items if they need to, such as if they want to add another file or amend some metadata in the repository. Thanks in advance for this. Ian ------------ Ian Wellaway Senior System Support & Development Officer - Academic Systems (Room 911) Wednesdays only & Technical Developer, Open Exeter - Infrastructure Systems (Room 54) Monday - Tuesday, Thursday - Friday Exeter IT Laver Building University of Exeter EX4 4QE UK tel +44 1392 722852 -------------------------------------------------------------------------------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -------------------------------------------------------------------------------- _______________________________________________ sword-app-tech mailing list swo...@li... https://lists.sourceforge.net/lists/listinfo/sword-app-tech |