comp.lang.ada
 help / color / mirror / Atom feed
From: "chris.danx" <spamoff.danx@ntlworld.com>
Subject: Any type, any type at all!
Date: Fri, 12 Jul 2002 19:23:48 +0100
Date: 2002-07-12T19:23:48+01:00	[thread overview]
Message-ID: <q9FX8.5978$_n5.126798@newsfep2-win.server.ntli.net> (raw)

Hi,

I've been reading through the proposed DOM Level 3 spec and was wondering
how an implementation could handle some of the new requirements for core
compliance.  In particular the DOMUserData type (section 1.1.7)

To quote:

>  Type Definition
>
>  A DOMUserData represents a reference to an application object.

It can't be generic can it?  That would mean you couldn't mix types within
the DOM, which is from my interpretation, the intention of this type.

I can think of one way involving (access to) classes, which makes it a tad
ugly for simple types like Integers, Strings, etc, but to me it seems the
only way.  Any thoughts on how to handle this in Ada (from someone more
experienced)?


Regards,
Chris





             reply	other threads:[~2002-07-12 18:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-12 18:23 chris.danx [this message]
2002-07-13 23:04 ` Any type, any type at all! chris.danx
2002-07-13 23:15   ` Jim Rogers
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox