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
assertEquals( libHandle.findStyle( "style1" ), libLabel1.getStyle( ) ); 
		assertEquals( "15cm", libLabel1.getX( ).getStringValue( ) ); 
		assertEquals(
				"18pt", libLabel1.getPrivateStyle( ).getFontSize( ).getStringValue( ) ); 
		
		assertEquals( "red", libLabel1.getPrivateStyle( ).getColor( ) 
				.getStringValue( ) );
		assertEquals( "bolder", libLabel1.getPrivateStyle( ).getFontWeight( ) ); 
		
		assertEquals( "5cm", libLabel1.getY( ).getStringValue( ) ); 
	}
	/**
	 * Tests one design element extends one library element.
	 * 
	 * @throws Exception
	 *             if any exception
	 */
	public void testExtendingLibraryElement( ) throws Exception
	{
		openDesign( "DesignWithElementReferenceLibrary.xml" ); 
		
		LibraryHandle libHandle = (LibraryHandle) designHandle
				.getAllLibraries( ).get( 0 );
		LabelHandle libLabel1 = (LabelHandle) libHandle
				.findElement( "libLabel1" ); 
		
		Iterator iter = libLabel1.derivedIterator( );
		assertEquals( designHandle.findElement( "label2" ), iter.next( ) ); 
		assertFalse( iter.hasNext( ) );