Saliya I think this is a great idea. I am a big fan of E4X in Synapse, and any performance improvement will be very welcome.
Paul On Mon, Jun 30, 2008 at 6:23 AM, Saliya Ekanayake <[EMAIL PROTECTED]> wrote: > Hi, > > The JavaScript execution in Synapse is performed via Rhino which has the > built in support for E4X. The Rhino implementation, however, does not > support direct mapping between Axiom elements and E4X objects. If such > mapping is enabled then we will be able to achieve better performance and > ease of use regarding XML manipulation within JavaScript. > > We use a modified version of Rhino here at WSO2, which provides the Axiom > support discussed above. A user can directly pass an Axiom object from Java > code to JavaScript and the particular Rhino version will transform it to an > E4X object when handing over to the JavaScript. > > I think we can use the particular implementation with Synapse to achieve the > aforesaid advantages. Your comments on this matter is highly appreciated. > > Regards, > > Saliya > > -- > http://esaliya.blogspot.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Paul Fremantle Co-Founder and CTO, WSO2 Apache Synapse PMC Chair OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
