Wow, are you saying I found a bug? Do I get a t-shirt
or something ;).
--- In [EMAIL PROTECTED]ups.com,
"Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
> I got word back that the SpiderMonkey implementation of E4X does NOT
> treat \u as an escape sequence in an XML literal, so I've filed it as an
> AS3 bug that we do. However, whoever gets assigned this bug will have to
> consult the E4X spec carefully to determine whether it has anything to
> say about this.
>
>
>
> - Gordon
>
>
>
> ________________________________
>
> From: Gordon Smith
> Sent: Wednesday, August 09, 2006 5:26 PM
> To: 'flexcoders@yahoogroups.com'
> Subject: RE: [flexcoders] Re: Loading Unicode values from XML and
> viewing in Flex components as HTML
>
>
>
> I'll ask the Player team whether \u is supposed to be treated as an
> escape sequence when compiled into an XML literal.
>
>
>
> - Gordon
>
>
>
> ________________________________
>
> From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of Michael Ritchie
> Sent: Wednesday, August 09, 2006 3:34 PM
> To: [EMAIL PROTECTED]ups.com
> Subject: [flexcoders] Re: Loading Unicode values from XML and viewing in
> Flex components as HTML
>
>
>
> Gordon,
>
> That makes sense but its still strange that when I created an XML var
> in side application, it worked:
>
> var localXML:XML =
> <character>
> <data>\u00A9</data>
> <label>Inverted Exclamation Mark</label>
> </character>;
>
> I was able to see the copyright symbol as HTML on my label. What
> threw me was that I couldn't do this from the XML.
>
> --- In [EMAIL PROTECTED]ups.com
<mailto:flexcoders%40yahoogroups.com>
> , "Gordon Smith" <gosmith@> wrote:
> >
> > \u00A9 is AS syntax that only means something inside of an AS string
> > literal.
> >
> >
> >
> > In an XML literal, you have to use XML entity syntax, which I believe
> > would be <data>©</data>.
> >
> >
> >
> > - Gordon
> >
> >
>