[OAI-implementers] error questions
Paul Cummins
comyn@utk.edu
Mon, 24 Jun 2002 14:09:09 -0400 (EDT)
I know the protocol states that a single error is enough to trigger
an error response but it seems to imply that all codes should be
returned.
If in the case of the illegal argument, where a value like
test=zzzzzz is sent, should this short circuit the testing process
and jump straight to the error response without testing from, until,
set, etc., since someone could be trying to break something?
Should a multiple argument error be "badArgument" and then should we
indicate which word was repeated? (example below)
repository/oai?verb=Identify&set=set1&from=2000-01-01&set=set2
errors:
<error code="badArgument">The query contained an illegal
argument--set</error>
<error code="badArgument">The query contained an illegal
argument--from</error>
<error code="badArgument">The query contained an illegal
argument--set</error>
Are these all of the codes or should there be another one because
Identify should have no other parameters?
--Paul Cummins
Univ. of Tenn. Library