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

Hi Jean-Claude,
 
I was suggesting empty:
 
  observer=""
 
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.
 
Regards,
 
Mark
 
 
Mark Birbeck
CEO
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
http://www.formsPlayer.com/ 


  _____  

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
JC

-- 
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