Bug 129580 HCG_BIDI: Undesirable order of BiDi chars in Edit Text Item dialog
This is BiDi specific defect. Capital characters refer to BiDi (Hebrew/Arabic) characters. 1. Create report 2. Add text item from the palette 3. Define it as HTML/Dynamic Text 4. Add <CODE> section 5. Type inside some logical expression using BiDi characters. if ABC != "OLLEH world" then ABC = "ELLOH" Actual result: if OLLEH" =! ABC world" then ELLOH" = ABC" The order of characters is corrupted. The content of comment and variables names is mixed.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/util/UIUtil.java
{
		return new File( filePath ).getName( );
	}
	/**
	 * Returns the namespace of the library for inculde
	 * 
	 * @param handle
	 *            the module handle to include the library
	 * @param libraryPath
	 *            the full path of the library file to include
	 * @return the namespace used to include, or null if the user cancels this
	 *         operator
	 */
	private static String getLibraryNamespace( ModuleHandle handle,
			String libraryPath )
	{
		String namespace = getSimpleFileName( libraryPath ).split( "\\." )[0];
		if ( handle.getLibrary( namespace ) != null )
		{
			ImportLibraryDialog dialog = new ImportLibraryDialog( namespace );
			if ( dialog.open( ) == Dialog.OK )
			{
				namespace = (String) dialog.getResult( );
			}
			else
			{
				namespace = null;
			}
		}
		return namespace;