calvez / xcoaitoolkit

Automatically exported from code.google.com/p/xcoaitoolkit
0 stars 0 forks source link

OAI Toolkit not in complaince with OAI protocol according to OAI test site http://re.cs.uct.ac.za #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to http://re.cs.uct.ac.za/
2. Type in OAI toolkit URL "http://<ip_address>:8080/OAIToolkit_ver0.6.4"
into text box "Enter the OAI baseURL"
3. Click on Identify

What is the expected output? What do you see instead?
Expected: To return repository information.
Instead it returns following error along with OAI UI

XML format error in line 63 [not well-formed (invalid token)]
XML Schema Validation Error !
[Fatal Error] re.9GdnAA:63:180: The reference to entity "metadataPrefix"
must end with the ';' delimiter.

Also test the behavior for List Metadata Formats,List Sets,List
Identifiers,List Records,Get Record.

Original issue reported on code.google.com by srangana...@library.rochester.edu on 20 May 2010 at 2:58

GoogleCodeExporter commented 9 years ago
Test done today showed 17 errors when tested on 
http://128.151.244.137:8080/OAIToolkit_0.6.1/oai-request.do which is our data 
source for the MST demo site.  Note that some of the tests executed by this 
program are designed to test that the repository responds well to not well 
formed requests (dates, etc.).

Original comment by rc...@library.rochester.edu on 17 Jun 2010 at 6:49

GoogleCodeExporter commented 9 years ago

Seems the problem lies in the oai-identifier.  I think we need to remove the 
domainName element and add a delimiter element in its place, e.g.,

<oai-identifier xmlns="http://www.openarchives.org/OAI/2.0/oai-identifier" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai-identifier 
http://www.openarchives.org/OAI/2.0/oai-identifier.xsd">
      <scheme>oai</scheme>
      <domainName />
      <repositoryIdentifier>carli.illinois.edu</repositoryIdentifier>
      <sampleIdentifier>oai:carli.illinois.edu:CARLIVoyager1/123</sampleIdentifier>
 </oai-identifier>

should become:

<oai-identifier xmlns="http://www.openarchives.org/OAI/2.0/oai-identifier" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai-identifier 
http://www.openarchives.org/OAI/2.0/oai-identifier.xsd">
      <scheme>oai</scheme>
      <delimiter>:</delimiter>
      <repositoryIdentifier>carli.illinois.edu</repositoryIdentifier>
      <sampleIdentifier>oai:carli.illinois.edu:CARLIVoyager1/123</sampleIdentifier>
 </oai-identifier>

Original comment by cede...@uillinois.edu on 3 Nov 2010 at 1:45

GoogleCodeExporter commented 9 years ago

Original comment by cede...@uillinois.edu on 3 Nov 2010 at 4:10