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
XSParticle particle = element.getParticle( );
			if ( particle != null )
			{
				XSObjectList list = ( (XSModelGroupImpl) particle.getTerm( ) ).getParticles( );
				populateTreeNodeWithParticles( node, list );
			}
			
			if(!includeAttribute)
				continue;
			XSAttributeGroupDecl group = element.getAttrGrp( );
			if ( group != null )
			{
				XSObjectList list = group.getAttributeUses( );
				for ( int j = 0; j < list.getLength( ); j++ )
				{
					ATreeNode childNode = new ATreeNode( );
					childNode.setValue( ( (XSAttributeUseImpl) list.item( j ) ).getAttrDeclaration( )
							.getName( ) );
					childNode.setType( ATreeNode.ATTRIBUTE_TYPE );
					node.addChild( childNode );
				}
			}
		}
		populateRoot( root );
		return root;
	}
	/**
	 * 
	 * @param node the node to which the elements defined in particles should be populated into
	 * @param list the XSObjectList which lists all particles.