MetaDataDictionary.reset( ); ThreadResources.setLocale( ULocale.ENGLISH ); MetaDataReader .read( ReportDesign.class.getResourceAsStream( "rom.def" ) );
	public void testSemanticValidator( ) throws MetaDataParserException	{		MetaDataDictionary.reset( );		ThreadResources.setLocale( ULocale.ENGLISH );		MetaDataReader				.read( ReportDesign.class.getResourceAsStream( "rom.def" ) ); //$NON-NLS-1$		IElementDefn groupDefn = MetaDataDictionary.getInstance( ).getElement(				ReportDesignConstants.TABLE_GROUP_ELEMENT );		SlotDefn headerDefn = (SlotDefn) groupDefn				.getSlot( TableGroup.HEADER_SLOT );		List validators = headerDefn.getTriggerDefnSet( ).getTriggerList( );		assertTrue( hasValidator( validators, "InconsistentColumnsValidator" ) ); //$NON-NLS-1$	}