code: @Deprecated
  	public static GPX read(final Path path, final boolean lenient)
  		throws IOException
  	{
  		return reader(Version.V11, lenient ? Mode.LENIENT : Mode.STRICT)
  			.read(path);
  	}
docs: Read an GPX object from the given {@code input} stream.
  
  @param path the input path from where the GPX date is read
  @param lenient if {@code true}, out-of-range and syntactical errors are
  ignored. E.g. a {@code WayPoint} with {@code lat} values not in
  the valid range of [-90..90] are ignored/skipped.
  @return the GPX object read from the input stream
  @throws IOException if the GPX object can't be read
  @throws NullPointerException if the given {@code input} stream is
  {@code null}
  
  @see #reader(GPX.Version, GPX.Reader.Mode)
  @deprecated Use {@code GPX.reader(Mode.LENIENT).read(path)} instead