Andrew Stopford's Weblog

poobah

Sponsors

News

Articles

Family

Old Blogs

E4X (ECMAScript for XML) is now ECMA-357

Christophe has the scoop on the release of a new ECMA standard that bridges ECMA Script with XML, E4X or ECMA-357.  The TC includes BEA, IBM, Microsoft and Macromedia. I can't see any referances from the MS XML or scripting bloggers on this yet but would love to hear their thoughts.  It looks like E4X will be rolled into the ECMAScript 4 standard. For languages that use ECMAScript as their base, JavaScript (and projects such as Mozilla, Brenden Eich the creator of JavaScript is on the TC), ActionScript (Flash and Flex, Garry Grossman the creator of ActionScript is on the TC) and JScript.Net this could lead to interesting developments.

I have yet to go through the spec in some detail but the following you may have heard before

native XML datatypes to the ECMAScript language, extends the semantics of familiar ECMAScript operators for manipulating XML data and adds a small set of new operators for common XML operations, such as searching and filtering. It also adds support for XML literals, namespaces, qualified names and other mechanisms to facilitate XML processing.

Sounds a lot like C-Omega?, maybe thats why Herman Venter is one of the Microsoft folks on the TC. Maybe the work in C-Omega will find its way into the CLI?

Comments

TrackBack said:

# July 21, 2004 1:19 PM

E4X Roolz said:

Absolutely interesting.

Now the question would be how long before it gets implemented in the major browsers?

Mozilla and Safari will be up to speed but how about IE ?
We all know that the next version of IE will come out in the longhorn days.

hmm
# July 21, 2004 11:26 PM

Jon Galloway said:

With all the AJAX / Web 2.0 hype lately, I've been thinking about what's next for Javascript (the J in

# November 1, 2007 1:20 PM

Angelos said:

Cool!

# November 9, 2007 4:40 AM