private static function xequalElementType( $types, $localName, $prefix )
	{
		$element = $types->getElement( $localName, $prefix );
		if ( ! $element || ! isset( $element['types'] ) || ! count( $element['types'] ) ) return XBRL_Equality::$EQUALITY_TYPE_STRING;

		return XBRL_Equality::xEqualComparisonType( array( 'type' => $element['types'][0] ), $types);
	}