Tests whether the file (or directory) denoted by the specified pathname exists.

Parameter:

path

The pathname of the file to be tested. When the pathname is not absolute, it is resolved against the current directory.

The file may be also specified with a local file URL (e.g. "file:/C:/schema/myschema.xsd")

Returns:

true if the file exists; false otherwise (or when invalid or non-local file pathname/URL has been passed)