Bug 186659 Crosstab in library birt-report-designer-all-in-one-2.2.0-N20070510
Using a crosstab from a library fails.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/namespace/DimensionNameContext.java
* 
	 * @param dimension
	 */
	public DimensionNameContext( Dimension dimension )
	{
		super( );
		this.dimension = dimension;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.model.core.namespace.INameContext#getElements(int)
	 */
	public List getElements( int level )
	{
		List elements = new ArrayList( );
		if ( level == NATIVE_LEVEL )
		{
			elements.addAll( namespace.getElements( ) );
		}
		else
		{
			elements.addAll( namespace.getElements( ) );
			int newLevel = level - 1;
			Dimension parent = (Dimension) dimension.getExtendsElement( );
			if ( parent == null )
				parent = (Dimension) dimension.getVirtualParent( );
			while ( parent != null && newLevel >= NATIVE_LEVEL )
			{
				elements