if (outputSchema.equalsIgnoreCase("original")) {
// respond with the original XML
this.validateIfOriginalSchema(context,"csw:Id","@outputSchema");
IOriginalXmlProvider oxp = factory.makeOriginalXmlProvider(context);
if (oxp == null) {
String msg = "IProviderFactory.makeOriginalXmlProvider: instantiation failed.";
LOGGER.log(Level.SEVERE,msg);
throw new OwsException(msg);
} else {
String id = qOptions.getIDs().iterator().next();
String xml = oxp.provideOriginalXml(context,id);
context.getOperationResponse().setResponseXml(xml);
}
} else {