DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30878>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30878

[PATCH] org.apache.xindice.core.xupdate.XUpdateImpl





------- Additional Comments From [EMAIL PROTECTED]  2004-08-30 16:46 -------
Unpack bugfiles.tgz in a dir then run the following commands:

 $XINDICE_HOME/bin/xindice dc  -c xmldb:xindice://localhost:8080/db/ -n test
 $XINDICE_HOME/bin/xindice ac  -c xmldb:xindice://localhost:8080/db/ -n test
 $XINDICE_HOME/bin/xindice ad  -c xmldb:xindice://localhost:8080/db/test -n
doc1.xml -f doc1.xml
 $XINDICE_HOME/bin/xindice ad  -c xmldb:xindice://localhost:8080/db/test -n
doc2.xml -f doc2.xml
 $XINDICE_HOME/bin/xindice xupdate  -c xmldb:xindice://localhost:8080/db/test -f
update.xml


First thing that pops up is the 3 documents updated.

Then if you take a look at doc2.xml you see:
<?xml version="1.0" encoding="UTF-8"?>
<ROOT>
  <HEAD>
    <test2/>
    <test2/>
  </HEAD>
  <HEAD1>
    <test1/>
    <test1/>
  </HEAD1>
</ROOT>

Where both append commands got run twice.

Reply via email to