Wow, are you saying I found a bug? Do I get a t-shirt or something ;).


--- In flexcoders@yahoogroups.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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Michael Ritchie
> Sent: Wednesday, August 09, 2006 3:34 PM
> To: flexcoders@yahoogroups.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 flexcoders@yahoogroups.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>&#x00A9;</data>.
> > 
> > 
> > 
> > - Gordon
> > 
> >
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to