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
childNode.setDataType( dataType );
			childNode.setType( ATreeNode.ELEMENT_TYPE );
			XSTypeDefinition xstype = ((XSElementDecl) ((XSParticleDecl) list.item(j))
					.getTerm()).getTypeDefinition();
			
			if ((!dataType.equals("anyType"))
					&&  xstype instanceof XSComplexTypeDecl)
			{	
				
				if( xstype.getName() == null)
					addParticleAndAttributeInfo( childNode, (XSComplexTypeDecl)xstype, complexTypesRoot );
				ATreeNode n = findComplexElement(complexTypesRoot,dataType);
				if( n!= null )
				{
					childNode.addChild(n.getChildren());
				}
			}
			node.addChild(childNode);
		}
	}
	/**
	 * Return the tree node instance that represents to the ComplexElement that featured by the given value.
	 * 
	 * @param root the tree node from which the search begin
	 * @param value the name of the ComplexElement
	 * @return
	 */
	private static ATreeNode findComplexElement( ATreeNode root, String value )
	{
		Object[] os = root.getChildren( );