Bug 143173 No error for recursive including when exporting a report to a library
Steps to reproduce: 1.New a library named "Lib", add a lable in it 2.New a report, extends Lib.label 3.Export the report, choose target library "Lib" Expected result: Error to warn the recursive including Actual result: The target library includes itself without error
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/util/ModelUtil.java
}
			element = element.getExtendsElement( );
		}
		return null;
	}
	/**
	 * Returns externalized value.
	 * 
	 * @param element
	 *            Design element.
	 * @param propIDName
	 *            ID of property
	 * @param propName
	 *            Name of property
	 * @return externalized value.
	 */
	public static String getExternalizedValue( DesignElement element,
			String propIDName, String propName )
	{
		if ( element == null )
			return null;
		String textKey = searchForExternalizedValue( element,
				propIDName );
		if ( !StringUtil.isBlank( textKey ) )
			return textKey;
		
		return element.getStringProperty( element.getRoot( ), propName );
	}
}