Re: [greenstone-users] Errors in OAI D a t a P r o v i d e r V a l i d a t i o n

From xiao
DateTue, 21 Aug 2007 10:22:01 +1200
Subject Re: [greenstone-users] Errors in OAI D a t a P r o v i d e r V a l i d a t i o n
In-Reply-To (46C9E6BD-1070509-polydoc-net)
Hello Georges,

The reponse error message below is self-explanatory. You have an extra quotation mark in the record identifier of your repository. When the identifier is added as an attribute in the request element, it makes the reponse not a proper xhtml (hence not a well-formed xml).

Try using the 'Raw xml" option of the online validator to see if your repository really contains invalid identifier values; if not, then perhaps you accidentally typed it wrong when doing the testing.

Cheers,
xiao

On 8/21/07, GB Polydoc <gbraouda@polydoc.net> wrote:
Hi list,

passing the Data Provider validation test (step2) in the site http : //www;openarchives.org , I've received for my GS 2.74 oai server (demo collection) the following message :
Unfortunately your repository did not validate at version 2.0 of the OAI-PMH
according to our OAI protocol conformance tester.
But the errors received during the testing step are present only in the Checking exception handling section :

[Warning] Malformed response to
http://ks301053.kimsufi.com/gsdl/cgi-bin/oaiserver.exe?verb=GetRecord&identifier=invalid "id&metadataPrefix=oai_dc
not well-formed (invalid token) at line 7, column 31, byte 374

An XML parsing error may be due to incorrectly including the invalid
identifier in the <request> element of your XML error response; only valid
arguments should be included. A response that includes <request
verb="GetRecord" identifier="invalid"id"
metadataPrefix="oai_dc">..baseURL..</request> is not well-formed XML because
of the quotation mark (") in the identifier.

[1] Can't parse malformed response. An XML parsing error may be due to
incorrectly including the invalid identifier in the &lt;request&gt; element of
your XML error response; only valid arguments should be included. A response
that includes &lt;request verb=&quot;GetRecord&quot;
identifier=&quot;invalid&quot;id&quot;
metadataPrefix=&quot;oai_dc&quot;&gt;..baseURL..&lt;/request&gt; is not
well-formed XML because of the quotation mark (&quot;) in the identifier.

[2] Response to this request did not give error code 'badArgument':
verb=ListIdentifiers&resumptionToken=junk&until=2000-02-05

[3] Response to this request did not give error code 'badArgument':
verb=ListRecords&metadataPrefix=oai_dc&resumptionToken=junk&until=1990-01-10
Summary - failure
Total exceptions improperly handled: 3
Total error count: 3


I hope the errors detected by this test are not critical for use with standard harvesting tools (PKP Harvester ?).

Any opinion would be greatly appreciated.

Regards,
Georges Braoudakis


_______________________________________________
greenstone-users mailing list
greenstone-users@list.scms.waikato.ac.nz
https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users




--
Greenstone Digital Library
New Zealand