Ah, I see something I missed at first. This example is using literal xml,
so the null IS getting interpreted by AS as null and not as a string. I bet
it would be different if you did:
var xml:XML = XML(outerinnernull/inner/outer);
Even so I am still surprised because the null should be the
.
--- On Thu, 8/13/09, Tracy Spratt tr...@nts3rd.com wrote:
From: Tracy Spratt tr...@nts3rd.com
Subject: RE: [flexcoders] Re: *** So you think you know ActionScript? (Read
original post first) ***
To: flexcoders@yahoogroups.com
Date: Thursday, August 13, 2009, 3:49 PM
The length is 1.
--- On Thu, 8/13/09, Tracy Spratt tr...@nts3rd.com wrote:
From: Tracy Spratt tr...@nts3rd.com
Subject: RE: [flexcoders] Re: *** So you think you know ActionScript? (Read
original post first) ***
To: flexcoders@yahoogroups.com
Date: Thursday, August 13, 2009, 3:49 PM
Ah, I see
: Thursday, August 13, 2009 3:10 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: *** So you think you know ActionScript? (Read
original post first) ***
Ok, if you say so. What is the result of your investigation?
It gets kind of complicated because AS does implicit toString
--- On Thu, 8/13/09, Tracy Spratt tr...@nts3rd.com wrote:
Ok, if you say so. What is the
result of your investigation?
I just checked, and it does indeed convert null to null. So it's effectively
the same with or without the curly braces. The element contains a String 4
characters long.
/13/09, Gordon Smith gosm...@adobe.com wrote:
From: Gordon Smith gosm...@adobe.com
Subject: RE: [flexcoders] Re: *** So you think you know ActionScript? (Read
original post first) ***
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Date: Thursday, August 13, 2009, 6:54 PM
@yahoogroups.com
Subject: RE: [flexcoders] Re: *** So you think you know ActionScript? (Read
original post first) ***
By my reading, everything seems to be working how it's supposed to work. But
how it's supposed to work is very surprising to me. And it's not really E4X
that's producing the odd behavior
7 matches
Mail list logo