XForms and XML Events - Anyone tried it?
Aurelian <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Here are two examples from Steven Pemberton's XML Events for HTML
Authors. (http://www.w3.org/MarkUp/2004/xmlevents-for-html-authors#listener)
Version 1:
<script ev:observer="button" ev:event="DOMActivate" type="text/javascript">
validate();
</script>
Version 2:
<ev:listener observer="button" handler="#validator" event="DOMActivate"/>
...
<script id="validator" type="text/javascript">
validate();
</script>
This syntax occurs in almost all XML Events materials I've read so far.
Unfortunately all Mozilla versions I've tried so far (including
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051013
Firefox/1.6a1 built yesterday) seem oblivious to the XML event notation.
It seems to ignore the event attributes and executes the script when the
page is loaded (as opposed to firing the handler when the event occurs).
Any clues?
Best Regards,
Aurelian Penciu