You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. run "test-count-05.slax" test case
2.
3.
version 1.1;
var $last = document("test-count.xml");
mvar $one = $last/in;
mvar $two = $last/in/node();
match / {
<top> {
<one> {
<before> { copy-of $one; }
append $one += <new> "one";
<after> { copy-of $one; }
}
<two> {
<before> { copy-of $two; }
append $two += <new> "one";
<after> { copy-of $two; }
}
}
}
What is the expected output? What do you see instead?
Neither of the append operations work.
Please use labels and text to provide additional information.
May 1, 2013 Delete comment
Project Member #1 phil.shafer
The <new> is added to $slax-one, but not to $one:
(sdb) p $slax-one
[node-set](1) rtf-doc
<in>
<one>1</one>
<two>2</two>
<three>3</three>
<four>4</four>
<five>5</five>
</in>
<new>one</new>
(sdb) p $one
[node-set](1)
<in>
<one>1</one>
<two>2</two>
<three>3</three>
<four>4</four>
<five>5</five>
</in>
(sdb)
The text was updated successfully, but these errors were encountered:
( Originally http://code.google.com/p/libslax/issues/detail?id=8 )
The text was updated successfully, but these errors were encountered: