prabhakaran: validation for view doc page.