comp.lang.ada
 help / color / mirror / Atom feed
* Any type, any type at all!
@ 2002-07-12 18:23 chris.danx
  2002-07-13 23:04 ` chris.danx
  0 siblings, 1 reply; 3+ messages in thread
From: chris.danx @ 2002-07-12 18:23 UTC (permalink / 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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-07-13 23:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-12 18:23 Any type, any type at all! chris.danx
2002-07-13 23:04 ` chris.danx
2002-07-13 23:15   ` Jim Rogers

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