Bug 168305 IsHostPage doesn't work for birt:report tag.[0603]
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/taglib/ReportTag.java
if ( documentFile != null && designFile == null )
			{
				if ( isValidDocument )
					throw new ViewerException(
							ResourceConstants.GENERAL_EXCEPTION_DOCUMENT_FILE_ERROR,
							new String[]{documentFile} );
				else
					throw new ViewerException(
							ResourceConstants.GENERAL_EXCEPTION_DOCUMENT_ACCESS_ERROR,
							new String[]{documentFile} );
			}
			
			if ( !ParameterAccessor.isValidFilePath( designFile ) )
			{
				throw new ViewerException(
						ResourceConstants.GENERAL_EXCEPTION_REPORT_ACCESS_ERROR,
						new String[]{designFile} );
			}
			else
			{
				
				File file = new File( designFile );
				if ( file.exists( ) )
				{
					reportRunnable = ReportEngineService.getInstance( )
							.openReportDesign( designFile, getModuleOptions( ) );
				}
				else if ( !ParameterAccessor.isWorkingFolderAccessOnly( ) )
				{
					InputStream is = null;