Bug 214706 Script UID doens't work for Chart
Use chart "onRender" property handle and call ModuleUtil.getScriptUID(), it generates the id. But later use this id to get back the PropertyHandle or Script content, it fails.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/util/XPathUtilTest.java
import org.eclipse.birt.report.model.elements.interfaces.ITextItemModel;
/**
 * Test cases for XPathUtil.
 * 
 */
public class XPathUtilTest extends BaseTestCase
{
	private static final String INPUT_FILE = "XPathUtilTest.xml"; 
	/**
	 * Test cases to get XPath string from element, slot and structure.
	 * 
	 * @throws Exception
	 */
	public void testGetXPath( ) throws Exception
	{
		openDesign( INPUT_FILE );
		SlotHandle tmpSlot = designHandle.getBody( );
		assertEquals( "/report/body", XPathUtil.getXPath( tmpSlot ) ); 
		tmpSlot = designHandle.findElement( "My table1 nested label1" ) 
				.getContainerSlotHandle( );
		assertEquals(
				"/report/body/table[@id=\"10\"]/detail/row/cell[@id=\"17\"][@slotName=\"content\"]", 
				XPathUtil.getXPath( tmpSlot ) );
		ListHandle list = (ListHandle) designHandle.findElement( "My list1" ); 
		assertEquals( "/report/body/list[@id=\"21\"]/header", 
				XPathUtil.getXPath( list.getHeader( ) ) );
		PropertyHandle propHandle = designHandle
				.getPropertyHandle( IModuleModel.IMAGES_PROP );
		assertEquals( "/report/list-property[@name=\"images\"]", 
				XPathUtil.getXPath( propHandle ) );