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

Re: SVGt 1.2 Tests: event name space URI in udom-event-202-t

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 23 May 2008 23:31:32 +0200
To: "Kalle Raita" <kraita@nvidia.com>
Cc: <www-svg@w3.org>
Message-ID: <ssgd34909e94h89vmaeb0tmcmho9vfpej6@hive.bjoern.hoehrmann.de>

* Kalle Raita wrote:
>In the SVGt 1.2 uDOM specification event has member called
>namespaceURI, which seems to be directly copied over 
>from the DOM specification. It is directly linked to method
>initEventNS() of Event interface. 
>Now, the SVGt 1.2 uDOM does not have method initEventNS()
>or anything like that in the Event interface. So, member
>namespaceURI seems to be totally useless and should be always
>set null. Is this the correct interpretation? If not, I don't
>understand why test case udom-event-202-t checks that the
>namespaceURI is null.

There is also no method to create an event object in the first place,
only implementations can create and initialize event objects. What the
namespaceURI attribute is set to by the implementation depends on the
event type. Most existing event types have no associated namespace, but
future ones (e.g., extensions specific to some implementation) might.
(I haven't looked at the test, there may well be something wrong with
it, but your characterization above is not.)
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Friday, 23 May 2008 21:32:17 UTC

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