>On 23/01/09 3:53 AM, "Stephen R. van den Berg" <<srb[at]cuci.nl>> wrote:
>> <append variable="var.tmp" value="hello" />
>> Results in 4.5: &var.tmp; == "hello"
>> Results in 5.0: &var.tmp; == ({RXML.empty, "hello"})
David Hunter wrote:
>Would &var.tmp; == ({RXML.empty, "hello"}) be expect if <append
>type='array'> in 5.0 ?
Good question. I'd expect a mere (), I think, since
conceptually I'd consider:
<set variable="var.tmp" type=array />
to be equivalent to var.tmp = ({})
and therefore, <append variable="var.tmp" value="hello" />
would become var.tmp = ({}) + () = ()
--
Sincerely,
Stephen R. van den Berg.
"Beware: In C++, your friends can see your privates!"
|