Bug 173582 Run servlet should not be affected by values in document.[0000]
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/taglib/AbstractViewerTag.java
protected Map parameters;
	/**
	 * Then entry to initialize tag
	 * 
	 * @throws Exception
	 */
	public void __init( )
	{
		super.__init( );
		parameters = new HashMap( );
	}
	/**
	 * validate the tag
	 * 
	 * @see org.eclipse.birt.report.taglib.AbstractBaseTag#__validate()
	 */
	public boolean __validate( ) throws Exception
	{
		String hasHostPage = (String) pageContext.getAttribute( ATTR_HOSTPAGE );
		if ( hasHostPage != null && "true".equalsIgnoreCase( hasHostPage ) ) 
		{
			return false;
		}
		
		this.locale = BirtTagUtil.getLocale( (HttpServletRequest) pageContext
				.getRequest( ), viewer.getLocale( ) );
		
		BirtResources.setLocale( this.locale );
		
		if ( viewer.getId( ) == null || viewer.getId( ).length( ) <= 0 )