All Versions
- DSpace 7.x (Current Release)
- DSpace 8.x (Unreleased)
- DSpace 6.x (EOL)
- DSpace 5.x (EOL)
- More Versions...
...
Code Block |
---|
# Example of retrieving Item information via "edit-media" path in ATOM format (can be run on any item within DSpace, but requires authentication) # NOTE: Accept header is required, and must be a format supported by a SwordContentDisseminator plugin (see configuration above) curl -i -H "Accept:application/atom+xml" -u test@dspace.org:[password] -X GET http://[dspace.url]/swordv2/edit-media/[internal-item-identifier] |
If your SWORD Deposit requests are producing HTTP 500, please check that the XML in your initial metadata deposit correctly specifies the encoding.
If you use:
Code Block |
---|
<?xml version="1.0"?> |
DSpace will default to UTF-32.
So to successfully deposit an XML in UTF-8, make sure you use:
Code Block |
---|
<?xml version="1.0" encoding="utf-8" ?> |