Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1 Data Corruption.

open
nobody
None
5
2004-08-27
2004-08-27
byrne
No

"temporaryXUpdateTree" are being left in the document
tree when a select fails.

Run this:
<?xml version="1.0" encoding="UTF-8"?>
<xupdate:modifications version="1.0"
xmlns:xupdate="http://www.xmldb.org/xupdate">
<xupdate:append select="/EML/HEAD">
<xupdate:element name="test2"/>
</xupdate:append>
<xupdate:append select="/EML/HEAD_2">
<xupdate:element name="test1"/>
</xupdate:append>
</xupdate:modifications>

ON:

<EML>
<HEAD/>
</EML>

and you get
<EML>
<HEAD>
<test2/>
</HEAD>
<temporaryXUpdateTree>
<test1/>
</temporaryXUpdateTree>
</EML>

This was using xindice 1.4b

Discussion