You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-dev@incubator.apache.org by "Trevor Oldak (JIRA)" <xa...@incubator.apache.org> on 2006/11/14 22:01:38 UTC
[jira] Created: (XAP-119) Xmodify: Zombie elements remain across
xModify modifications
Xmodify: Zombie elements remain across xModify modifications
------------------------------------------------------------
Key: XAP-119
URL: http://issues.apache.org/jira/browse/XAP-119
Project: XAP
Issue Type: Bug
Components: XModify
Reporter: Trevor Oldak
1) Make a small table, with 2 rows. Set the rows' type to data. ID the table 'myTable'
2) Process this xal file:
<xal xmlns="http://www.openxal.org/xal" xmlns:xal="http://www.openxal.org/xal">
<xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
<xm:remove-element select="//row[@type='data']"/>
</xm:modifications>
</xal>
This file should remove all the rows in a table that have 'type' set to 'data'
3) Process this xal file:
<xal xmlns="http://www.openxal.org/xal" xmlns:xal="http://www.openxal.org/xal">
<xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
<xm:append select="id('myTable')">
<row xmlns:xal="http://www.openxal.org/xal" type="data">
(row data)
</row>
</xm:append>
<xm:append select="id('myTable')">
<row xmlns:xal="http://www.openxal.org/xal" type="data">
(row data)
</row>
</xm:append>
<xm:append select="id('myTable')">
<row xmlns:xal="http://www.openxal.org/xal" type="data">
(row data)
</row>
</xm:append>
</xm:modifications>
</xal>
The multiple appends are due to a different bug.
The file should add 3 rows, but it adds 5, because it saved the first two rows that were added in the previous xmodify statement.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (XAP-119) Xmodify: Zombie elements remain across
xModify modifications
Posted by "Trevor Oldak (JIRA)" <xa...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/XAP-119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Trevor Oldak closed XAP-119.
----------------------------
Resolution: Fixed
> Xmodify: Zombie elements remain across xModify modifications
> ------------------------------------------------------------
>
> Key: XAP-119
> URL: https://issues.apache.org/jira/browse/XAP-119
> Project: XAP
> Issue Type: Bug
> Components: XModify
> Reporter: Trevor Oldak
>
> 1) Make a small table, with 2 rows. Set the rows' type to data. ID the table 'myTable'
> 2) Process this xal file:
> <xal xmlns="http://www.openxal.org/xal" xmlns:xal="http://www.openxal.org/xal">
>
> <xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
> <xm:remove-element select="//row[@type='data']"/>
> </xm:modifications>
> </xal>
> This file should remove all the rows in a table that have 'type' set to 'data'
> 3) Process this xal file:
> <xal xmlns="http://www.openxal.org/xal" xmlns:xal="http://www.openxal.org/xal">
> <xm:modifications xmlns:xm="http://www.openxal.org/xmodify">
> <xm:append select="id('myTable')">
> <row xmlns:xal="http://www.openxal.org/xal" type="data">
> (row data)
> </row>
> </xm:append>
> <xm:append select="id('myTable')">
> <row xmlns:xal="http://www.openxal.org/xal" type="data">
> (row data)
> </row>
> </xm:append>
> <xm:append select="id('myTable')">
> <row xmlns:xal="http://www.openxal.org/xal" type="data">
> (row data)
> </row>
> </xm:append>
> </xm:modifications>
> </xal>
> The multiple appends are due to a different bug.
> The file should add 3 rows, but it adds 5, because it saved the first two rows that were added in the previous xmodify statement.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.