[OAI-implementers] dealing with non-existent Sets

Ben Henley ben@biomedcentral.com
Mon, 21 May 2001 17:56:12 +0100


	Stupid question:

	I'm not clear from the protocol specs how I'm supposed to handle
non-existent Sets.
	If a client makes a request with a set argument which is a well
formed setSpec but doesn't exist in my repository, should I:

	(a) return a 400 Status-Code
	(b) return an empty response element

	I think it's (b), but I'm not sure - if the Set doesn't exist,
should I treat it as an illegal argument or just reply "No records match the
request"?

	Thanks.

Ben Henley <mailto:ben@biomedcentral.com>                    
Special Projects Editor
BioMed Central    
http://www.biomedcentral.com