<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Matt,
<p>I hacked up a solution.&nbsp; I unjarred the xerces.jar file and added
a HackDocumentType interface that extended the DocumentType interface.&nbsp;
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.&nbsp; Cheesy, yes, but
it seems to work.
<p>Ryan
<br>&nbsp;
<br>&nbsp;
<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" &lt;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.&nbsp; I
pulled down
<br>> the jdom-05jun2000-src.tar.gz and had problems building the source
The
<br>> exact error is:
<br>>
<p>&lt;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>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
String publicID = domDocType.getPublicId();
<br>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
^
<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>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
String systemID = domDocType.getSystemId();
<br>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
^
<br>> 2 errors
<br>> BUILD FATAL ERROR: Compile failed, messages should have been provided.</blockquote>

<pre>--&nbsp;
Ryan O'Connell
Sun Microsystems, Inc.
1 Network Drive&nbsp;
PO Box 4003
Burlington, MA.&nbsp; 01803-0903
Email&nbsp;&nbsp; : ryan.oconnell@sun.com
Phone&nbsp;&nbsp; : 781.442.2658
Fax&nbsp;&nbsp;&nbsp;&nbsp; : 781.442.1646
Mailstop: ubur03-405</pre>
&nbsp;</html>