Help w/Docuverse DOM SDK (Please)

Buzz Andersen landerse at du.edu
Thu Mar 11 05:29:02 GMT 1999


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 at du.edu

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
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 at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list