<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2></FONT>I'm using JDK 1.2.2 build 6 from Sun,
downloaded the JDOM Beta 4 build, tried compiling using Ant and got a
compiler error complaining NoSuchProcessingInstructionException is unknown.
I looked into the code and
found NoSuchProcessingInstructionException part of the org.jdom
package.</DIV>
<DIV> </DIV>
<DIV>Anyone know what I've done wrong?</DIV>
<DIV> </DIV>
<DIV>Frank Cohen</DIV>
<DIV>Inclusion.net</DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>H:\jdom\jdom>echo
%JAVA_HOME%<BR>c:\java\java122</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>H:\jdom\jdom>.\build.bat<BR>Java and XML Build
System<BR>-------------------<BR>Building with classpath
c:\java\java122\lib\tools.jar;.\lib\xerces.jar;.\lib\ant<BR>.jar;<BR>Starting
Ant...<BR>Buildfile: build.xml<BR>Project base dir set to:
H:\jdom\jdom<BR>Executing Target: init<BR>----------- Java Document Object Model
(JDOM) 1.0beta4 [2000] ------------<BR>Executing Target: prepare<BR>Executing
Target: prepare-src<BR>Executing Target: compile<BR>Compiling 1 source files to
H:\jdom\jdom\build\classes<BR>H:\jdom\jdom\build\src\org\jdom\Document.java:252:
Class org.jdom.NoSuchProcessi<BR>ngInstructionException not found in
throws.<BR> throws
NoSuchProcessingInstructionException
{<BR>
^<BR>H:\jdom\jdom\build\src\org\jdom\Document.java:264: Class
org.jdom.NoSuchProcessi<BR>ngInstructionException not
found.<BR> throw new
NoSuchProcessingInstructionException(target);<BR>
^<BR>H:\jdom\jdom\build\src\org\jdom\Document.java:353: Return required at end
of boo<BR>lean
removeProcessingInstruction(java.lang.String).<BR> public
boolean removeProcessingInstruction(String target)
{<BR>
^<BR>H:\jdom\jdom\build\src\org\jdom\Document.java:355: Class
org.jdom.NoSuchProcessi<BR>ngInstructionException not found in
try.<BR> try
{<BR>
^<BR>H:\jdom\jdom\build\src\org\jdom\Document.java:357: Class
org.jdom.NoSuchProcessi<BR>ngInstructionException not
found.<BR> } catch
(NoSuchProcessingInstructionException e)
{<BR>
^<BR>5 errors<BR>BUILD FATAL ERROR: Compile failed, messages should have been
provided.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>H:\jdom\jdom></FONT></DIV></FONT></DIV></BODY></HTML>