Update Facility / Files - bug?
Wednesday, 4 February 2015 · 3 messages
HR
Hans-Juergen Rennau4 Feb 2015 16:00 #
Dear BaseX-team,
is there a problem concerning the update facility? Or do I have a blackout? Suddenly it seems as if the facility did not any more change files. doc.xml:
<a>
<b>XXX</b>
</a>
replaceValue.xq:replace value of node //b with 'YYY'
call:basex -u -i doc.xml replaceValue.xq
=> no change
Working on Windows 7, build 8.0 beta 6cedb1a (latest shapshot)
Cheers,Hans-Jürgen
CG
Christian Grün4 Feb 2015 17:50 #
Hi Hans-Jürgen,
An old issue on the responsible
WRITEBACK option has been chasing us for quite a while now [1]. I have updated the code base and the snapshots [2]; your example should work again!
Thanks,
Christian
[1] https://github.com/BaseXdb/basex/issues/848
[2] http://files.basex.org/releases/latest/Quoted text · Hans-Juergen Rennau · 24 lines
On Wed, Feb 4, 2015 at 4:00 PM, Hans-Juergen Rennau <hrennau at yahoo.de> wrote: > Dear BaseX-team, > > is there a problem concerning the update facility? Or do I have a blackout? > Suddenly it seems as if the facility did not any more change files. > > doc.xml: > <a> > <b>XXX</b> > </a> > > replaceValue.xq: > replace value of node //b with 'YYY' > > call: > basex -u -i doc.xml replaceValue.xq > > => no change > > Working on Windows 7, build 8.0 beta 6cedb1a (latest shapshot) > > Cheers, > Hans-Jürgen >
HR
Hans-Juergen Rennau4 Feb 2015 19:14 #
Excellent, thank you very much!
Cheers,Hans-Jürgen
Quoted text · Christian Grün · 1 line
Christian Grün <christian.gruen at gmail.com> schrieb am 17:56 Mittwoch, 4.Februar 2015:
Hi Hans-Jürgen,
An old issue on the responsible
WRITEBACK option has been chasing us for quite a while now [1]. I have updated the code base and the snapshots [2]; your example should work again!
Thanks,
Christian
[1] https://github.com/BaseXdb/basex/issues/848
[2] http://files.basex.org/releases/latest/Quoted text · Hans-Juergen Rennau · 24 lines
On Wed, Feb 4, 2015 at 4:00 PM, Hans-Juergen Rennau <hrennau at yahoo.de> wrote: > Dear BaseX-team, > > is there a problem concerning the update facility? Or do I have a blackout? > Suddenly it seems as if the facility did not any more change files. > > doc.xml: > <a> > <b>XXX</b> > </a> > > replaceValue.xq: > replace value of node //b with 'YYY' > > call: > basex -u -i doc.xml replaceValue.xq > > => no change > > Working on Windows 7, build 8.0 beta 6cedb1a (latest shapshot) > > Cheers, > Hans-Jürgen >
Written for BaseX 7.9. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery