Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] Checkin: bug 169052 Oda property values should be trimmed.

- Summary:

When formatted the design file by XML editor formatter utility, empty characters are added before/after the property value. For example, the oda driver “org.eclipse.birt.report.data.oda.sampledb.Driver” may become “  org.eclipse.birt.report.data.oda.sampledb.Driver  “. This could result in errors when preview.

Model string property type will trim empty characters. Values that are not should be trimmed are changed to literalString type.

- Bugzilla Bug (s) Resolved:169052



- Description:

1. changed ScalarParameter.defaultValue, EmbeddedImage.data, OdaDesignerState.stateContentAsBlob, Text.content, Label.Text to literalString type.

2. revised StringPropertyType so that the value is trimmed.

3. updated test cases.

- Tests Description :

Manual test

- Files Edited:

/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/api/LabelHandleTest.java
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/metadata/StringPropertyTypeTest.java
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/parser/PropertyStateTest.java
/org.eclipse.birt.report.model.tests_bugs/test/org/eclipse/birt/report/model/parser/golden/PropertyStateTest_golden.xml
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/elements/rom.def
/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/metadata/StringPropertyType.java



- Files Added:



- Files Deleted:



- Notes to Build Team:
- Notes to Developers:
- Notes to QA:

This check-in is made locally because of internet breakdown. Changes will synchronize to eclipse CVS when the internet is available.


- Notes to Documentation:

 

Rick Lu

Actuate Software Shanghai Center
Tel: (86)21-58826388
Fax: (86)21-58826002
Email: rlu@xxxxxxxxxxx
 


Back to the top