Bug 192981 Leading white space get trimmed in PDF&HTML output.
Build ID: The Eclipse bundled with BIRT 2.1.3 designer all in one Steps To Reproduce: 1.Create a new blank report. 2.Setup data source and data set component 3.Insert a List 4.Insert a DataItem into the detail slot of List 5.Set the value expression of DataItem to " " + row["Column1"] 6.Run the report to produce PDF or HTML 7.the leading white space is disappeared in output More information: The leading white space is preserved in BIRT 2.1.1, but get disappeared in BIRT 2.1.3 or later version. We want to know whether it's expected behavior or a bug.
core/org.eclipse.birt.core.tests/test/org/eclipse/birt/core/format/StringFormatterTest.java
assertEquals( "1234FGGGGG", sampleStr.format( "1234fggggg" ) );
		sampleStr.applyPattern( "@@@@&&&>!" );
		assertEquals( "1234FGGGGG", sampleStr.format( "1234fggggg" ) );
		sampleStr.applyPattern( "@@@@&&@@@<<<>>>@@@&>" );
		assertEquals( "   1234FGGGGG", sampleStr.format( "1234fggggg" ) );
		sampleStr.applyPattern( "!" );
		assertEquals( "123", sampleStr.format( "123" ) );
		sampleStr.applyPattern( "" );
		assertEquals( "123", sampleStr.format( "123" ) );
		sampleStr.applyPattern( ">" );
		assertEquals( "123AAA", sampleStr.format( "123aaA" ) );
		assertEquals( "123AAA", sampleStr.format( "123aaA" ) );
		sampleStr.applyPattern( "^^^\"!" );
		assertEquals( "^^^\"123", sampleStr.format( "123" ) );
		sampleStr.applyPattern( "^^^&YY&&&!" );
		assertEquals( "^^^1YY23", sampleStr.format( "123" ) );
		sampleStr.applyPattern( "^^^&YY@@@!" );
		assertEquals( "^^^1YY23 ", sampleStr.format( "123" ) );
		
		sampleStr.applyPattern( "@@@-@@-@@@@!" );
		assertEquals( "600-00-03274", sampleStr.format( "6000003274" ) );
		
		sampleStr.applyPattern( "@@@@@-@@@@!" );
		assertEquals( "94305-0110", sampleStr.format( "943050110" ) );
		sampleStr.applyPattern( "@@@@@-@@@@" );
		assertEquals( "94305-0110", sampleStr.format( "943050110" ) );
		
		sampleStr.applyPattern( "@@@@@!" );
		assertEquals( "94305", sampleStr.format( "94305" ) );
		sampleStr.applyPattern( "@@@@@" );