public function isNumeric( $type )
	{
		// BMS 2018-05-02 Changed to use resolvesToBaseType instead of relying on some property
		if ( $type instanceof QName )
		{
			// $type = $this->getType( $type->localName, $type->prefix );
			$type = "{$type->prefix}:{$type->localName}";
		}
		else if ( is_string( $type ) && isset( $this->types[ $type ] ) )
		{
			$type = $this->types[ $type ];
		}

		$result = $this->resolvesToBaseType( $type, array( 'xs:decimal', 'xs:double', 'xs:float' ) );
		return $result;

		// if ( is_array( $type ) )
		// {
		// 	return isset( $type['numeric'] ) && filter_var( $type['numeric'], FILTER_VALIDATE_BOOLEAN );
		// }
		// else
		// {
		// 	return false;
		// }
	}
public function isNumeric( $type )
	{
		// BMS 2018-05-02 Changed to use resolvesToBaseType instead of relying on some property
		if ( $type instanceof QName )
		{
			// $type = $this->getType( $type->localName, $type->prefix );
			$type = "{$type->prefix}:{$type->localName}";
		}
		else if ( is_string( $type ) && isset( $this->types[ $type ] ) )
		{
			$type = $this->types[ $type ];
		}

		$result = $this->resolvesToBaseType( $type, array( 'xs:decimal', 'xs:double', 'xs:float' ) );
		return $result;

		// if ( is_array( $type ) )
		// {
		// 	return isset( $type['numeric'] ) && filter_var( $type['numeric'], FILTER_VALIDATE_BOOLEAN );
		// }
		// else
		// {
		// 	return false;
		// }
	}
public function isNumeric ( $ type ) { // BMS 2018-05-02 Changed to use resolvesToBaseType instead of relying on some property
 if ( $ type instanceof QName ) { // $type = $this->getType( $type->localName, $type->prefix );
 $ type = "{$type->prefix}:{$type->localName}" ; } else if ( is_string ( $ type ) && isset ( $ this -> types [ $ type ] ) ) { $ type = $ this -> types [ $ type ] ; } $ result = $ this -> resolvesToBaseType ( $ type , array ( 'xs:decimal' , 'xs:double' , 'xs:float' ) ) ; return $ result ; // if ( is_array( $type ) )
 // {
 // 	return isset( $type['numeric'] ) && filter_var( $type['numeric'], FILTER_VALIDATE_BOOLEAN );
 // }
 // else
 // {
 // 	return false;
 // }
 }
Returns true if the array passed reprsents a numeric type


@param array|QName $type Can be a QName or an array representing a type
@return bool
Returns true if the array passed reprsents a numeric type