Bug 183918 get relative file path of linkage library
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/library/DesignLoadLibraryTest.java
*/
	public void testStructureReference( ) throws Exception
	{
		openDesign( "DesignWithElementReferenceLibrary.xml" ); 
		assertNotNull( designHandle.findConfigVariable( "var1" ) ); 
		assertNull( designHandle.findConfigVariable( "var2" ) ); 
		assertNotNull( designHandle.findImage( "image1.jpg" ) ); 
		assertNotNull( designHandle.findImage( "LibA.image2" ) ); 
		assertNotNull( designHandle.findColor( "lighterRed" ) ); 
		assertNotNull( designHandle.findColor( "LibA.lighterBlue" ) ); 
		LibraryHandle libAHandle = designHandle.getLibrary( "LibA" ); 
		
		PropertyHandle propHandle = designHandle
				.getPropertyHandle( Module.CONFIG_VARS_PROP );
		StructureHandle structure = propHandle.getAt( 0 );
		assertEquals( structure.getStructure( ), designHandle
				.findConfigVariable( "var1" ) ); 
		Iterator iter = designHandle.configVariablesIterator( );
		ConfigVariableHandle configVar = ( (ConfigVariableHandle) iter.next( ) );
		assertEquals( "var1", configVar.getName( ) ); 
		assertTrue( configVar.getModule( ) instanceof ReportDesign );
		configVar = ( (ConfigVariableHandle) iter.next( ) );
		assertEquals( "var2", configVar.getName( ) ); 
		assertTrue( configVar.getModule( ) instanceof Library );
		assertFalse( iter.hasNext( ) );
		
		propHandle = designHandle.getPropertyHandle( Module.IMAGES_PROP );
		structure = propHandle.getAt( 0 );
		assertEquals( structure.getStructure( ), designHandle
				.findImage( "image1.jpg" ) );