/**
* @see org.apache.lenya.workflow.impl.History#restoreVersion(NamespaceHelper, org.w3c.dom.Element)
*/
protected Version restoreVersion(NamespaceHelper helper, Element element)
throws WorkflowException {
Version version = super.restoreVersion(helper, element);
CMSVersion cmsVersion = new CMSVersion(version.getEvent(), version.getState());
Element identityElement = helper.getFirstChild(element, IDENTITY_ELEMENT);
Element userElement = helper.getFirstChild(identityElement, USER_ELEMENT);
if (userElement != null) {
String userId = userElement.getAttribute(ID_ATTRIBUTE);