Hello,
I'm trying to upload MS Word documents (Office 2010; .docx)  to DSpace with the 
Microsoft Authoring add-in and  SWORD, but I keep getting the same error no 
matter how I configure the sword-server.cfg file:

2012-05-04 11:22:39,434 ERROR org.dspace.sword.CollectionDepositor @ 
Unacceptable content type detected: 
application/vnd.openxmlformats-officedocument.wordprocessingml.document for 
collection 5
2012-05-04 11:22:39,435 ERROR org.purl.sword.server.DepositServlet @ 
org.purl.sword.base.SWORDErrorException: Unacceptable content type in deposit 
request: application/vnd.openxmlformats-officedocument.wordprocessingml.document


I can successfully download the service document.

Here are my sword-server configuration settings:

plugin.named.org.dspace.content.packager.PackageIngester = \
org.dspace.content.packager.PDFPackager  = Adobe PDF, PDF, \
org.dspace.content.packager.DSpaceMETSIngester = METS, \
org.dspace.content.packager.DSpaceDocxIngester = DOCX

plugin.named.org.dspace.sword.SWORDIngester = \
org.dspace.sword.SWORDMETSIngester = 
http://purl.org/net/sword-types/METSDSpaceSIP \
org.dspace.sword.SimpleFileIngester = SimpleFileIngester \
org.dspace.sword.DocxIngester = 
application/vnd.openxmlformats-officedocument.wordprocessingml.document

accept-packaging.Docx.identifier = 
application/vnd.openxmlformats-officedocument.wordprocessingml.document
accept-packaging.Docx.q = 1.0

Any help would be appreciated.

Alain Tschanz

------------------------------------------------------------------------------
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/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to