build identifier: 2.5.2.v20100202

create dataset from datasource with name start with whitespace will report exception

reproducible: always

steps to reproduce:
1.new datasource with name " ds"
2.new dataset from the datasource

expected result:no exception

actual result:exception.
error log:
org.eclipse.birt.report.designer.core.runtime.guiexception: no data source available for data set data set, please select a data source in "data source" entry of properties view.
at org.eclipse.birt.report.designer.core.runtime.guiexception.createguiexception(guiexception.java:78)
at org.eclipse.birt.report.designer.internal.ui.util.exceptionhandler.handle(exceptionhandler.java:169)
at org.eclipse.birt.report.designer.internal.ui.util.exceptionhandler.handle(exceptionhandler.java:150)
at org.eclipse.birt.report.designer.internal.ui.util.exceptionhandler.handle(exceptionhandler.java:89)
at org.eclipse.birt.report.designer.internal.ui.views.actions.abstractelementaction.handleexception(abstractelementaction.java:149)
at org.eclipse.birt.report.designer.internal.ui.views.actions.abstractelementaction.run(abstractelementaction.java:100)
at org.eclipse.birt.report.designer.internal.ui.views.renamelistener.doubleclick(renamelistener.java:214)
at org.eclipse.jface.viewers.structuredviewer$1.run(structuredviewer.java:821)
at org.eclipse.core.runtime.saferunner.run(saferunner.java:42)
at org.eclipse.core.runtime.platform.run(platform.java:888)
at org.eclipse.ui.internal.jfaceutil$1.run(jfaceutil.java:48)
at org.eclipse.jface.util.saferunnable.run(saferunnable.java:175)
at org.eclipse.jface.viewers.structuredviewer.firedoubleclick(structuredviewer.java:819)
at org.eclipse.jface.viewers.abstracttreeviewer.handledoubleselect(abstracttreeviewer.java:1419)
at org.eclipse.jface.viewers.structuredviewer$4.widgetdefaultselected(structuredviewer.java:1195)
at org.eclipse.jface.util.openstrategy.firedefaultselectionevent(openstrategy.java:238)
at org.eclipse.jface.util.openstrategy.access$0(openstrategy.java:235)
at org.eclipse.jface.util.openstrategy$1.handleevent(openstrategy.java:296)
at org.eclipse.swt.widgets.eventtable.sendevent(eventtable.java:84)
at org.eclipse.swt.widgets.widget.sendevent(widget.java:1003)
at org.eclipse.swt.widgets.display.rundeferredevents(display.java:3910)
at org.eclipse.swt.widgets.display.readanddispatch(display.java:3503)
at org.eclipse.ui.internal.workbench.runeventloop(workbench.java:2405)
at org.eclipse.ui.internal.workbench.runui(workbench.java:2369)
at org.eclipse.ui.internal.workbench.access$4(workbench.java:2221)
at org.eclipse.ui.internal.workbench$5.run(workbench.java:500)
at org.eclipse.core.databinding.observable.realm.runwithdefault(realm.java:332)
at org.eclipse.ui.internal.workbench.createandrunworkbench(workbench.java:493)
at org.eclipse.ui.platformui.createandrunworkbench(platformui.java:149)
at org.eclipse.ui.internal.ide.application.ideapplication.start(ideapplication.java:113)
at org.eclipse.equinox.internal.app.eclipseapphandle.run(eclipseapphandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.runapplication(eclipseapplauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.start(eclipseapplauncher.java:79)
at org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:368)
at org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:179)
at sun.reflect.nativemethodaccessorimpl.invoke0(native method)
at sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)
at sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)
at java.lang.reflect.method.invoke(method.java:597)
at org.eclipse.equinox.launcher.main.invokeframework(main.java:559)
at org.eclipse.equinox.launcher.main.basicrun(main.java:514)
at org.eclipse.equinox.launcher.main.run(main.java:1311)
caused by: java.lang.runtimeexception: no data source available for data set data set, please select a data source in "data source" entry of properties view.
at org.eclipse.birt.report.designer.data.ui.dataset.externaluiutil.validatedatasethandle(externaluiutil.java:31)
at org.eclipse.birt.report.designer.data.ui.dataset.dataseteditor.<init>(dataseteditor.java:139)
at org.eclipse.birt.report.designer.data.ui.dataset.advanceddataseteditor.<init>(advanceddataseteditor.java:23)
at org.eclipse.birt.report.designer.data.ui.providers.editabledatasetnodeprovider.performedit(editabledatasetnodeprovider.java:95)
at org.eclipse.birt.report.designer.internal.ui.views.defaultnodeprovider.performrequest(defaultnodeprovider.java:432)
at org.eclipse.birt.report.designer.internal.ui.views.actions.editaction.doaction(editaction.java:90)
at org.eclipse.birt.report.designer.internal.ui.views.actions.abstractelementaction.run(abstractelementaction.java:70)
... 36 more
looks have been fixed in latest build.
whitespace is trimmed during create datasource, no exception
2.6.0.v20100505-0630