*/
protected static boolean parseGetTimestampResponse(InputStream is, Map<String,String> versions)
throws ManifoldCFException, ServiceInterruption
{
// Parse the document. This will cause various things to occur, within the instantiated XMLContext class.
XMLStream x = new XMLStream(false);
WikiGetTimestampAPIContext c = new WikiGetTimestampAPIContext(x,versions);
x.setContext(c);
try
{
try
{
x.parse(is);
return c.isLoginRequired();
}
catch (IOException e)
{
long time = System.currentTimeMillis();
throw new ServiceInterruption(e.getMessage(),e,time + 300000L,time + 12L * 60000L,-1,false);
}
}
finally
{
x.cleanup();
}
}