else
{context.declareVariable(bindingPrefix + "new-uri", new AnyURIValue(dst));}
// For backward compatibility
context.declareVariable(bindingPrefix + "eventType", EVENT_TYPE_FINISH);
context.declareVariable(bindingPrefix + "triggerEvent", new StringValue(eventToString(event)));
if (isCollection)
{context.declareVariable(bindingPrefix + "collectionName", new AnyURIValue(src));}
else {
context.declareVariable(bindingPrefix + "collectionName", new AnyURIValue(src.removeLastSegment()));
context.declareVariable(bindingPrefix + "documentName", new AnyURIValue(src));