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
URL objURI = null;
		try
		{
			objURI = new URL( uri );
			if ( !objURI.getProtocol( ).equalsIgnoreCase( FILE_SCHEMA ) )
				return null;
			return objURI.getAuthority( ) == null ? objURI.getPath( ) : objURI
					.getAuthority( )
					+ objURI.getPath( );
		}
		catch ( MalformedURLException e )
		{
			File file = new File( uri );
			if ( uri.startsWith( FILE_SCHEMA ) )
				return file.toURI( ).getSchemeSpecificPart( );
			return uri;
		}
	}
	/**
	 * Converts a filename to a valid URL string. The filename can include
	 * directory information, either relative or absolute directory.
	 * 
	 * @param filePath
	 *            the file name
	 * @return a valid URL String
	 */
	public static String convertFileNameToURLString( String filePath )
	{
		StringBuffer buffer = new StringBuffer( );
		String path = filePath;