<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Matt,
<p>I hacked up a solution. I unjarred the xerces.jar file and added
a HackDocumentType interface that extended the DocumentType interface.
I added the two missing method signatures to the HackDocumentType interface
then I cast the object on the two offending lines in the DOMBuilder class
to the HackDocumentType interface, then rejarred. Cheesy, yes, but
it seems to work.
<p>Ryan
<br>
<br>
<p>Matt Sullivan wrote:
<blockquote TYPE=CITE>Ryan,
<p>I experienced the same problem on Solaris with the .tar.gz and on NT
with the .zip.
<p>-Matt
<p>> Message: 1
<br>> Date: Thu, 13 Jul 2000 19:10:53 -0400
<br>> From: "Ryan O'Connell -HESE" <ryan.oconnell@sun.com>
<br>> Organization: Sun Microsystems Inc. - BDC
<br>> To: jdom-interest@jdom.org
<br>> Subject: [jdom-interest] Troubles building JDOM version: jdom-05jun2000-src.tar.gz
<br>>
<br>> Hey folks,
<br>>
<br>> I am new to JDOM and seem to be having some difficulties. I
pulled down
<br>> the jdom-05jun2000-src.tar.gz and had problems building the source
The
<br>> exact error is:
<br>>
<p><snip>
<p>>
<br>> /home/ryano/download/jdom-june-05/jdom/build/src/org/jdom/input/DOMBuilder.java:316:
<br>> Method getPublicId() not found in interface org.w3c.dom.DocumentType.
<br>>
String publicID = domDocType.getPublicId();
<br>>
^
<br>> /home/ryano/download/jdom-june-05/jdom/build/src/org/jdom/input/DOMBuilder.java:317:
<br>> Method getSystemId() not found in interface org.w3c.dom.DocumentType.
<br>>
String systemID = domDocType.getSystemId();
<br>>
^
<br>> 2 errors
<br>> BUILD FATAL ERROR: Compile failed, messages should have been provided.</blockquote>
<pre>--
Ryan O'Connell
Sun Microsystems, Inc.
1 Network Drive
PO Box 4003
Burlington, MA. 01803-0903
Email : ryan.oconnell@sun.com
Phone : 781.442.2658
Fax : 781.442.1646
Mailstop: ubur03-405</pre>
</html>