I can use SWORD (v1) to deposit the attached zip file containing a PDF and mets.xml file with
An item with complete parsed metadata is created. The reply is,
HTTP/2 202
content-type: application/atom+xml;charset=UTF-8
date: Fri, 24 Sep 2021 14:18:26 GMT
location:
https://vtechworks.lib.vt.edu/sword/media-linkserver: nginx/1.14.0 (Ubuntu)
strict-transport-security: max-age=31536000; includeSubDomains; preload
However the similar action in SWORD v2 fails,
It creates an item but fails to parse the metadata in mets.xml. It returns:
Is METSDSpaceSIP enabled for SWORD v2?
Is there any difference between the mets.xml needed for SWORD and SWORDv2?
I tried testing this on DSpace Demo (6.3 XMLUI),
"HTTP Status 400 - Unable to recognise URL as a valid service document"
Is SWORD or SWORDv2 enabled on DSpace Demo?