Shouldn't have a 'constraint' to avoid replacing a file?
so if the path exists you can use REPLACE but not
ADD or STORE cmd


2012/6/6 Christian Grün <christian.gruen@gmail.com>
> Why am I able to add/store several XML with the same path?

The REPLACE command [1,2] will remove existing versions of a document.
Christian

[1] http://docs.basex.org/wiki/Commands#REPLACE
[2] http://docs.basex.org/wiki/Database_Module#db:replace



--
Henrique Oliveira