Bug 191637 Empty cube causes error
Comment removed as requested by the submitter - 2007-06-08 droy
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/dimension/Hierarchy.java
Member[] levelMembers = dimensionMember.getMembers();
		for ( int i = 0; i < levelMembers.length; i++ )
		{
			writeLevelMember( levelMembers[i], keyDataType[i], attributesDataType[i] );
		}
	}
	
	/**
	 * 
	 * @param levelMember
	 * @param keyDataType
	 * @param attributesDataType
	 * @throws IOException
	 * @throws DataException 
	 */
	private void writeLevelMember( Member levelMember, int keyDataType[], int[] attributesDataType )
			throws IOException, DataException
	{
		for ( int i = 0; i < levelMember.getKeyValues().length; i++ )
		{
			DocumentObjectUtil.writeValue( documentObj,
					keyDataType[i],
					levelMember.getKeyValues()[i] );
		}
		if ( levelMember.getAttributes() != null )
		{
			for ( int i = 0; i < levelMember.getAttributes().length; i++ )
			{
				DocumentObjectUtil.writeValue( documentObj,
						attributesDataType[i],