Bug 176674 Errors/Failures found in JUnit test of org.eclipse.birt.report.engine.emitter.html.tests
Errors/Failures found in JUnit test of org.eclipse.birt.report.engine.emitter.html.tests in daily build 20070308. The build runs from HEAD version. Please see the attachment for details.
engine/org.eclipse.birt.report.engine.emitter.html.tests/test/org/eclipse/birt/report/engine/emitter/html/MetadataEmitterTest.java
{
		if ( bookmark == null || type == null)
		{
			return 0;
		}
		int count = 0;
		for ( int i = 0; i < list.size( ); i++ )
		{
			String value = (String) list.get( i );
			String[] fields = value.split( "," );
			if ( fields.length < 3 )
			{
				return 0;
			}
			if ( bookmark.equals( fields[0] ) && type.equals( fields[1] )
					&& ( id == null || fields[2].equals( id ) ) )
			{
				++count;
			}
		}
		return count;
	}
	
	private String[] getMetadataString( String type )
	{
		if ( "TABLE".equals( type ) || "GRID".equals( type ))
		{
			return new String[]{table1, table2};
		}
		else if ( "LIST".equals( type )  )