Re: [j-nsp] set:difference() function in SLAX returns different results while input node-sets are the same

2018-09-07 Thread Phil Shafer
Martin T writes: >I encountered an interesting behavior where set:difference() function >does not work when node-set variable is manually defined like this: Two issues: first is that it is really comparing nodes not contents, looking to see if the exact references are equal, so comparing:

[j-nsp] set:difference() function in SLAX returns different results while input node-sets are the same

2018-09-07 Thread Martin T
Hi! I encountered an interesting behavior where set:difference() function does not work when node-set variable is manually defined like this: var $vlan-range_ := { { "99"; } { "100"; } { "101"; } { "102"; } } However, the