You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by bu...@apache.org on 2004/03/25 09:19:27 UTC

DO NOT REPLY [Bug 25892] - xupdate:variable is inserted to often

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=25892>.
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=25892

xupdate:variable is inserted to often





------- Additional Comments From dominic@stratlink.com.au  2004-03-25 08:19 -------
This is a case where a variable has been used to store an xml node, delete it
from the document, and insert it in a different place. An exception is thrown
(Caused by: org.xmldb.api.base.XMLDBException: :Error executing XPath query:
Variable not resolvable: existingCell)

Notice that it leaves theses <temporaryXUpdateTree> elements in the document.
Corruption.


<View ignoreFormatting="false" name="Compact Listing" class="42" type="Listing"
id="91" xmlns:src="http://xml.apache.org/xindice/Query"
src:col="/db/websystem/advancen.com/dev/view" src:key="91">
 
<temporaryXUpdateTree /><temporaryXUpdateTree /><temporaryXUpdateTree
/><temporaryXUpdateTree /><Column id="3"
groupDescendants="false"><Layout><ObjectWidth>100%</ObjectWidth>
<CellWidth>100%</CellWidth>
<CellHorizAlign>left</CellHorizAlign>
<CellVertAlign>top</CellVertAlign>
<BorderSize>0</BorderSize>
</Layout>
<Rendering id="1" element="Item Name" class="1" type="Single Line Text"
displayType="Text" cssclass="text_default"><Layout><CellWidth>100%</CellWidth>
<CellHorizAlign>left</CellHorizAlign>
<CellVertAlign>top</CellVertAlign>
<BorderSize>0</BorderSize>
</Layout>
</Rendering></Column>
 
</View>