Bug 166732 Duplicate id isn't handled in BIRT viewer tag.[0603]
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/taglib/AbstractViewerTag.java
super.__init( );
		parameters = new HashMap( );
	}
		
	/**
	 * validate the tag
	 * 
	 * @see org.eclipse.birt.report.taglib.AbstractBaseTag#__validate()
	 */
	public void __validate( ) throws Exception
	{
		
		this.locale = BirtTagUtil.getLocale( (HttpServletRequest) pageContext
				.getRequest( ), viewer.getLocale( ) );
		
		BirtResources.setLocale( this.locale );
		
		if ( viewer.getId( ) == null || viewer.getId( ).length( ) <= 0 )
		{
			throw new JspTagException( BirtResources
					.getMessage( ResourceConstants.TAGLIB_NO_VIEWER_ID ) );
		}
		
		if ( viewer.getReportDesign( ) == null
				&& viewer.getReportDocument( ) == null )
		{
			throw new JspTagException( BirtResources
					.getMessage( ResourceConstants.TAGLIB_NO_REPORT_SOURCE ) );
		}