database unstable script (implementing exception-handling for validation errors in the OAI-PMH interface)