W3C home > Mailing lists > Public > www-svg@w3.org > February 2003

Re: XML Events

From: Sigurd Lerstad <sigler@bredband.no>
Date: Fri, 7 Feb 2003 15:50:57 +0100
Message-ID: <02ff01c2ceb8$529e8520$591273d5@mmstudio>
To: "Jim Ley" <jim@jibbering.com>, <www-svg@w3.org>

> "Sigurd Lerstad" <sigler@bredband.no>
> > > I've seen virtually no-one have the need to use it, other than where
> > binding
> > > to ActiveX Object events are concerned where it's the only defined
> method.
> > >
> > > > Anyone have any ideas?
> > >
> > > Stick with the current, widely implemented, well understood methods
> until
> > > the new technology has proved itself superior.
> > >
> >
> > XML Events have a lot more advantages than just being able to attach
> several
> > handlers to the same event.
> >
> > It's supposed to be a general event system for all XML languages, be it
> > XHTML/SVG or something else. It's more integrated with how the event
> system
> > works on the DOM level. And it allows separation of content and
> We can already easily seperate content and scripting, indeed this does
> to seperate content and scripting than using addEventListener, since using
> pure DOM2 methods we fully isolate scripting from the content, rather than
> just mixing new XML elements into the mix.

A Declarative syntax to the 'addEventListener' DOM method is preferred for
the same reason that declarative animation is preferred over doing all your
animation with scripting. You are probably already aware of that, But you
don't really get to appreciate the difference until you write an authoring
tool or try to open and edit a file that was made with another authoring

> My point was that it's unproven both in user acceptance, and in
> implementation, and as there is already a well established alternative,
> staying with that has a great many attractions.

You have to take the step sometime. And now seems like the perfect time,
since XHTML2 will probably support XML Events exclusively.

Okay, I'm a programmer, and I'm implementing this stuff. And I'm not the
kind of programmer that can be told: Do that, and then I just do it. I need
to be motivated. And implementing something that is just flawed doesn't
motivate me. That's why I want XML Events :)

Sigurd Lerstad
Received on Thursday, 6 February 2003 08:52:56 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:55 UTC