Charles,
thanks for your observation, which I had added to our issue tracker [1]. It has been fixed in the latest snapshot [2].
Best, Christian
[1] https://github.com/BaseXdb/basex/issues/583 [2] http://files.basex.org/releases/latest/ ___________________________
On Tue, Oct 16, 2012 at 10:23 PM, Charles Kowalski alxarch@gmail.com wrote:
On 10/16/2012 11:20 PM, Charles Kowalski wrote:
Hi,
Upon executing:
db:rename('dbname', '', 'path')
All database data was put under a root collection named 'ath' not the expected 'path'.
The first letter gets chopped, something to do probably with string manipulation and zero string length.
Thanks, alex
To correct my previous description the first letter of every *child* path gets lost ie
db:replace('db', 'test.xml', <root/>) db:rename('db', '', 'renamed')
results in: 'renamed/est.xml'
Thanks, alex _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk