[
https://jira.duraspace.org/browse/DS-1313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Masár updated DS-1313:
---------------------------
Epic: oai
Reviewer: lyncode
Assignee: Ivan Masár
Labels: oai (was: )
> XOAI - wrong error code for invalid metadata prefix
> ---------------------------------------------------
>
> Key: DS-1313
> URL: https://jira.duraspace.org/browse/DS-1313
> Project: DSpace
> Issue Type: Sub-task
> Components: OAI-PMH
> Affects Versions: 3.0
> Reporter: Claudia Jürgen
> Assignee: Ivan Masár
> Labels: oai
>
> XOAI validation
> request:
> verb=GetRecord&identifier=oai:demo.dspace.org:10673/3&metadataPrefix=tt
> request: verb=ListRecords&metadataPrefix=tt
> request: verb=ListIdentifiers&metadataPrefix=tt
> returns the wrong error code, e.g.:
> <?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl"
> href="static/style.xsl"?><OAI-PMH
> xmlns="http://www.openarchives.org/OAI/2.0/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/
> http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"><responseDate>2012-10-12T14:11:51Z</responseDate>
> <request verb="GetRecord" identifier="oai:demo.dspace.org:10673/3"
> metadataPrefix="tt">http://demo.dspace.org/oai/request</request>
> <error code="noMetadataFormats">The item does not have any metadata
> format available for dissemination</error>
> </OAI-PMH>
> should return
> cannotDisseminateFormat
> see: http://www.openarchives.org/OAI/openarchivesprotocol.html#ErrorConditions
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel