[Home] [By Thread] [By Date] [Recent Entries]

  • From: John Cowan <cowan@l...>
  • To: XML Dev <xml-dev@i...>
  • Date: Wed, 21 Apr 1999 10:04:06 -0400

Leigh Dodds wrote:

> Erm, so you're saying that
> 
> interface Document : Node {
>         Document        createDocument{} raises {DOMException}
> }
> 
> isn't valid CORBA syntax and so thats why its not been
> included?

Not at all.  But what such a method would do is to allow you
to create a new Document, *given an existing Document*.  It
doesn't help unless you already have a Document to apply the
method to.  IDL has no concept of "static" or "class" methods.

A plausible alternative would be to put createDocument() into
the DOMImplementation interface, but this just pushes off the
problem: how does one get an instance of DOMImplementation?
This is the "infinite regress" Miles mentioned.

-- 
John Cowan	http://www.ccil.org/~cowan		cowan@c...
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member