public function getType( $name, $prefix = null )
	{
		// It can be the case that the type passed in is an array.  This can happen if the type for an
		// element is defined in the schema as simpleContent extending some base type by restriction.
		// In case this could be the case, look for an array with an element key of 'class' and value
		// 'simple'. If found, there should be an element with a key of 'parent'.  Use this.
		if ( is_array( $name ) && isset( $name['class'] ) && isset( $name['parent'] ) )
		{
			$name = $name['parent'];
		}

		if ( strpos( $name, ":" ) === false && is_null( $prefix ) )
		{
			// Assume xs
			$prefix = "xs";
		}

		return $this->hasType( $name, $prefix )
			? $this->types[ is_null( $prefix ) ? $name : "$prefix:$name" ]
			: false;
	}