Bug 120448 Issue with returned id
After the change of id, InstanceId.parse() can no long be able to parse the id and how can I determin the type of this element? What would be the component id based on the id I get? Or there is another api that I can use to query the type. Note that all these happened in the document processor that rendering the page. Js code has not been invoked to send back the idd that recognizable by the InstanceId.parse().
engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
}
	}
	/*
	 * Determin if the browser is compatible with MSIE Those MSIE compatible
	 * browser contain "MSIE" in the user agent field of http header. Those
	 * browsers that doesn't compatible contains no such string. like firefox
	 * 1.0.3
	 */
	protected boolean isBrowserMSIECompatible( String agent )
	{
		if ( agent == null || agent.equals( "" ) ) 
			return true; 
		String userAgent = " " + agent + " "; 
		
		Pattern pattern = Pattern.compile( "\\sMSIE[\\s+|\\/|\\d]", 
				Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CASE );
		Matcher m = pattern.matcher( userAgent );
		return m.find( );
	}
	
	private final static char[] hexDigits = {'0', '1', '2', '3', '4', '5', '6',
			'7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'};
	private static void appendEscape( StringBuffer sb, byte b )
	{
		sb.append( '%' );
		sb.append( hexDigits[( b >> 4 ) & 0x0f] );
		sb.append( hexDigits[( b >> 0 ) & 0x0f] );
	}
	protected static String encodeURL( String s )
	{