W3C home > Mailing lists > Public > www-svg@w3.org > May 2006

RE: [SVGMobile12] STZLC3-9 listening to document events

From: Mark Birbeck <mark.birbeck@x-port.net>
Date: Fri, 12 May 2006 18:03:41 +0100
To: <www-svg@w3.org>
Message-ID: <011801c675e6$065c06a0$7e01a8c0@Jan>
Hi Jean-Claude,
I was suggesting empty:
rather than not present. The current spec allows for not present, but the
content must be the ID of another element, i.e., it can't be empty.
Having said all of this, my recollection when I did some work on this for
our Sidewinder Viewer is that the missing piece of the jigsaw is actually in
DOM 2 Events, is it not? Registering on the root node is possible
(obviously), but not the document object itself. It's a while since I've
looked at this, so I could be wrong...and if it's true it may already be
addressed in DOM 3 Events.
Mark Birbeck
x-port.net Ltd.

e: Mark.Birbeck@x-port.net
t: +44 (0) 20 7689 9232
b: http://internet-apps.blogspot.com/
w: http://www.formsPlayer.com/

Download our XForms processor from


From: Jean-Claude Dufourd [mailto:jean-claude.dufourd@streamezzo.com] 
Sent: 12 May 2006 15:42
To: Mark Birbeck
Cc: www-svg@w3.org
Subject: Re: [SVGMobile12] STZLC3-9 listening to document events

Mark Birbeck wrote: 

However, one thing that does strike me is that if we agree that observer

becomes a URI then this could just fall out by using an empty @observer

value. Is that the kind of solution others were thinking of?


Reading the current XML events spec, I see for the definition of observer:
The optional observer attribute specifies the id of the element with which
the event listener is to be registered. If this attribute is not present,
the observer is the element that the event attribute is on (...), or the
parent of that element (...).

So an empty observer already has meaning.
We thought about this too.
Best regards

Jean-Claude Dufourd - Chief Scientist, Streamezzo
83, Bd du Montparnasse 75006 Paris - Tel: +33 (0) 153632847
http://www.streamezzo.com - Fax: +33 (0) 142224601 
Received on Friday, 12 May 2006 17:05:26 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:08 UTC