Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev]CheckIn:[128754] If a head of a XML tree have more than two elements and one of them belongs to the complextype.The tree of the complextype element can not be build.

Summary:
Fix bugzilla bug 128754  If a head of a XML tree have more than two elements and one of them belongs to the complextype.The tree of the complextype element can not be build.

-Bugzilla Bug (s) Resolved:
Bug 128754
 
-Description:
When populating xml structure tree, the original implementation of
org.eclipse.birt.oda.xml..util.ui.SchemaPopulationUtil.XSDFileSchemaPopulator.addParticleAndAttributeInfo()
method forgets to populate the unnamed complex element type under an element.
Fixed in source. And added some test cases.
-Tests Description:
UnitTest
 
-Files Added:
"/org.eclipse.birt.report.data.oda.xml/test/org/eclipse/birt/report/data/oda/xml/golden/SchemaPopulationUtilTest_XSD.txt" "/org.eclipse.birt.report.data.oda.xml/test/org/eclipse/birt/report/data/oda/xml/input/test.xsd"

-Files Edited:
"/org.eclipse.birt.report.data.oda.xml/src/org/eclipse/birt/report/data/oda/xml/util/ui/SchemaPopulationUtil.java"
 
"/org.eclipse.birt.report.data.oda.xml/test/org/eclipse/birt/report/data/oda/xml/util/ui/SchemaPopulationUtilTest.java" "/org.eclipse.birt.report.data.oda.xml/test/org/eclipse/birt/report/data/oda/xml/test/util/TestConstants.java"
 
- Notes to Build Team:
- Notes to Developers:
- Notes to QA: 
- Notes to Documentation:

Back to the top