Bug 154423 Stack overflow using XML data source
data/org.eclipse.birt.report.data.oda.xml/src/org/eclipse/birt/report/data/oda/xml/util/ui/SchemaPopulationUtil.java
.getName( ) );
				childNode.setType( ATreeNode.ATTRIBUTE_TYPE );
				node.addChild( childNode );
			}
		}
	}
	/**
	 * 
	 * @param node
	 * @param complexTypesRoot
	 * @param group
	 * @throws OdaException
	 */
	private static void addElementToNode( ATreeNode node, ATreeNode complexTypesRoot, XSModelGroupImpl group ) throws OdaException
	{
		XSObjectList list = group.getParticles( );
		for ( int j = 0; j < list.getLength( ); j++ )
		{
			if(  ( (XSParticleDecl) list.item( j ) ).getTerm( ) instanceof XSModelGroupImpl )
			{
				addElementToNode ( node, complexTypesRoot, (XSModelGroupImpl)( (XSParticleDecl) list.item( j ) ).getTerm( )  );
				continue;
			}
			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 )
				dataType = childNode.getValue( ).toString( );