Bug 146526 table of contents and bookmarks in target document cannot be selected if report and target document are stored at different disk
steps to reproduce: - create a document at disk D, and move it to disk C - create a report at disk D, and edit a drill through hyperlink - select table of contents and bookmarks in the document expected behavior: - table of contents and bookmarks can be selected actual behavior: - it simply didn't
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/util/URIUtil.java
* The spearator in the return path is platform-depedent.
	 * 
	 * @param base
	 *            the base directory
	 * @param relativePath
	 *            the relative path
	 * @return the absolute path
	 */
	public static String resolveAbsolutePath( String base, String relativePath )
	{
		
		String baseDir = getLocalPath( base );
		String relativeDir = getLocalPath( relativePath );
		if ( baseDir == null || relativeDir == null )
			return relativePath;
		File baseFile = new File( baseDir );
		File resourceFile = new File( baseFile, relativeDir );
		return resourceFile.getPath( );
	}
	/**
	 * Tests whether the string before <code>matchedPos</code> is a directory.
	 * 
	 * @param baseDir
	 *            the base directory
	 * @param resourceDir
	 *            the resource directory
	 * @param matchedPos
	 *            the 0-based position
	 * @return <code>true</code> if the string before <code>matchedPos</code>
	 *         is a directory