BaseXdb/basex — Issue #352: Better error messages upon tilde
Author: jidanni
Created: 2012-01-25 08:18:40+00:00
State: open

Please print a more helpful message upon
$ basex -q 'doc("~/mapping/kml/dj.kml")'
Stopped at line 1, column 27:
[FODC0002] File or directory "/tmp/~/mapping/kml/dj.kml" not found.

E.g., "... Were you trying to specify the HOME directory?
Well in BaseX we say that like ..."

Else the user has no idea what to do.

Try as he might,

* http://www.google.com.tw/search?q=~ HOME xquery&ie=utf-8&oe=utf-8
* http://www.google.com.tw/search?q=how to write the HOME directory ~/ in xquery&ie=utf-8&oe=utf-8
* http://www.google.com.tw/search?q=doc '~/ xquery&ie=utf-8&oe=utf-8
* http://www.google.com.tw/search?q=tilde home directory xquery&ie=utf-8&oe=utf-8
* http://www.google.com.tw/search?q=basex bugs&ie=utf-8&oe=utf-8