>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. > Considering that every other major implementation of XPATH uses the HTML character code replacements and/or supports the full unicode character set directly, it probably wouldn't make sense to support a special escape sequence that only works for Flash front ends; it would make any middle tier developed for a Flash-based front end less compatible with other implementations. I don't believe it is written into the specs *not* to support special escape sequences, but in the interest of maintaining standards, it makes sense to stick to the way other major implementations have gone unless there is a compelling reason to do otherwise. Especially since the intended purpose in this situation is to display the resulting character as HTML.
What might make more sense is a conversion function. Other implementations, such as XSL interpreters in browsers or on servers, allow for extensions to be added, but since this isn't possible in the FLash player, a pair of conversion functions (like fromCharCode and toCharCode) would allow conversions to and from unicode without causing incompatibilities. ryanm -- 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/