Bug 213970 Error happens when link to internal bookmark under run servlet [04]
Description: Error happens when link to internal bookmark under run servlet. Regression of #162830 Build number: 2.2.2.v20071218-1951 Steps to reproduce: 1. Insert two labels, set page break between them. 2. Set bookmark "b'k" to the second label. 3. Define internal bookmark link in the first label. 4. Preview in web viewer with run servlet. Expected result: Link works, can link to the second label. Actual result: Web Viewer run servlet cannot link to target label. Error log: N/A
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ViewerHTMLActionHandler.java
ParameterAccessor.PARAM_BOOKMARK, bookmark ) );
			
			if ( !action.isBookmark( ) )
				link.append( ParameterAccessor.getQueryParameterString(
						ParameterAccessor.PARAM_ISTOC, "true" ) ); 
		}
		return link.toString( );
	}
	/**
	 * builds URL for drillthrough action
	 * 
	 * @param action
	 *            instance of the IAction instance
	 * @param context
	 *            the context for building the action string
	 * @return a URL
	 */
	protected String buildDrillAction( IAction action, IReportContext context )
	{
		if ( action == null || context == null )
			return null;
		String baseURL = null;
		Object renderContext = getRenderContext( context );
		if ( renderContext instanceof HTMLRenderContext )
		{
			baseURL = ( (HTMLRenderContext) renderContext ).getBaseURL( );
		}
		if ( renderContext instanceof PDFRenderContext )
		{
			baseURL = ( (PDFRenderContext) renderContext ).getBaseURL( );