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.
Description: 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. Steps to reproduce: 1. new a datasource and a dataset based on the XML 2. select the "CannotBuild.xsd" as the schema, and the complextype element cann't build the sub element in the XML structure. 3. new another datasource and another dataset based on the XML 4. select the "CanBuild.xsd" as the schema, and the complextype element can build the sub element in the XML structure. Actual result: 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. Expect result: 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 be build.
data/org.eclipse.birt.report.data.oda.xml/src/org/eclipse/birt/report/data/oda/xml/util/ui/SchemaPopulationUtil.java
addParticleAndAttributeInfo( node, complexType );
				}
			}
			root.addChild( node );
		}
		populateRoot( root );
		return root;
	}
	/**
	 * Add the particles and attributes that defined in an implicitly defined ComplexType to the node.
	 * 
	 * @param node
	 * @param complexType
	 */
	private static void addParticleAndAttributeInfo( ATreeNode node,
			XSComplexTypeDecl complexType )
	{
		XSParticle particle = complexType.getParticle( );
		if ( particle != null )
		{
			XSObjectList list = ( (XSModelGroupImpl) particle.getTerm( ) ).getParticles( );
			for ( int j = 0; j < list.getLength( ); j++ )
			{
				ATreeNode childNode = new ATreeNode( );
				childNode.setValue( ( (XSParticleDecl) list.item( j ) ).getTerm( )
						.getName( ) );
				String dataType = ( (XSElementDecl) ( (XSParticleDecl) list.item( j ) ).getTerm( ) ).getTypeDefinition( )
						.getName( );
				if ( dataType == null || dataType.length( ) == 0 )