Bug 190141 Could not view img with height/width in doc
Build ID: RC0-0518 Steps To Reproduce: 1. create a report design 2. insert a text with <IMG src="C:\WINDOWS\Blue Lace 16.bmp" height="100"> result: view as html or pdf is ok view as doc, exception occurs: org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report; nested exception is: java.lang.IllegalArgumentException: "fromUnits"must be one of the absolute units(CM, IN, MM, PT). More information: It should accept the default unit in html the whole report will fail once this exception occurs. Appreciate it could be fixed as soon as possible. Thanks!
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/ir/DimensionType.java
* <li>[1-9][0-9]*[.[0-9]*[ ]*[in|cm|mm|pt|pc|em|ex|px|%]]</li>
	 * </ul>
	 * 
	 * If the error exists, return the result whose measure is 0.
	 */
	public static DimensionType parserUnit( String value )
	{
		if ( value != null )
		{
			try
			{
				DimensionValue val = DimensionValue.parse( value );
				return new DimensionType( val.getMeasure( ), val.getUnits( ) );
			}
			catch ( PropertyValueException e )
			{
				log.log( Level.SEVERE, e.getMessage( ) );
			}
		}
		return new DimensionType( 0, DimensionType.UNITS_CM );
	}
	/**
	 * object document dimension version
	 */
	static final protected int VERSION = 0;
	final static int FIELD_NONE = -1;
	final static int FIELD_TYPE = 0;
	final static int FIELD_UNITTYPE = 1;
	final static int FIELD_MEASURE = 2;
	final static int FIELD_CHOICE = 3;