Re: XML for GJS



Is DOMParser that API? Do they plan to add standalone one into
SpiderMonkey? Will the next SpiderMonkey release still have E4X?

On Sat, 2012-10-06 at 12:05 -0300, Jasper St. Pierre wrote:
On Sat, Oct 6, 2012 at 12:04 PM, Nikita Churaev <lamefun x0r gmail com> wrote:
Without proper XML support, a programming platform becomes outright
useless for PEOPLE, since XML is now the integral part of Web 3.0 and
everything else. It's a grave problem for GJS, since now it has no XML
support whatsoever. I want to try to do something about this.

Currently, there's E4X, which is used in the Shell, but it's
deprecated. Mozilla and Google are developing a new XML Parser API for
JavaScript, and we'll use that when it's available.

* Make a manual binding, like we do for cairo.
* Make a GObject wrapper over libxml2 (there's already GXml, but it
requires outdated Vala version, maybe port to C not to chase Vala?).
* Make a new XML parser that is based entirely on GLib and GObject.

The latter two have a bonus that if new features are added, they'll
become immediately available for all languages that GNOME supports. What
is the best option?

_______________________________________________
desktop-devel-list mailing list
desktop-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/desktop-devel-list







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]