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

  • From: Buzz Andersen <landerse@d...>
  • To: xml-dev@i...
  • Date: Wed, 10 Mar 1999 22:28:01 -0700

I would be eternally grateful if anyone out there who happens to be familiar
with the Docuverse DOM SDK could tell me what is wrong with the following
code.  It generates a "com.docuverse.dom.DOMExceptionImpl" exception when
the "appendChild" method of the document is attempted.

Here it is:

  DOM dom = new com.docuverse.dom.DOM();
  dom.setProperty("sax.driver", "com.ibm.xml.parser.SAXDriver");
  Document x = dom.createDocument("e1");
  Element y = x.createElement("e2");
  y.appendChild(root);

I would think this would generate:

<e1>
    <e2></e2>
</e1>

Am I mistaken?

Thanks in advance,
Buzz Andersen
www.du.edu/~landerse
landerse@d...

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