<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
To all,
<p>Should I be able to do the following: (I want to read from a socket
I have opened and send that directly to the builder)
<p><tt>I am getting the following compilation error:</tt><tt></tt>
<p><tt>"CommerceServerStatus.java": Error #: 314 : cannot access class
org.xml.sax.InputSource; neither class nor source found for org.xml.sax.InputSource
at line 123, column 28</tt>
<br>&nbsp;
<p><tt>try {</tt>
<br><tt>&nbsp;&nbsp;&nbsp; _csConnection = new Socket(mCommerceServerName,
sCommerceServerPort);</tt>
<br><tt>&nbsp;&nbsp;&nbsp; _outBoundRequest = new PrintWriter(_csConnection.getOutputStream(),
true);</tt>
<br><tt>&nbsp;&nbsp;&nbsp; _inboundData = new BufferedReader( new&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
InputStreamReader(_csConnection.getInputStream()));</tt>
<br><tt>&nbsp;&nbsp;&nbsp; } catch (UnknownHostException unknowHostException)
{</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.err.println("Don't now about
host: " + mCommerceServerName);</tt>
<br><tt>&nbsp;&nbsp;&nbsp; } catch (IOException ioException) {</tt>
<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.err.println("Couldn't get
I/O for the connection to :" + mCommerceServerName);</tt>
<br><tt>&nbsp;&nbsp;&nbsp; }</tt>
<p><tt>&nbsp;&nbsp;&nbsp; _outBoundRequest.println(sStatusRequest);</tt>
<p><tt>&nbsp;&nbsp;&nbsp; // Build the JDOM Document</tt>
<br><tt>&nbsp;&nbsp;&nbsp; Document doc = builder.build(_inboundData);</tt>
<p>Thanks.
<p>--sean
<p>--
<br>Sean Shanny
<br>Principal Software Engineer
<br>eZiba.com
<br>phone: 413-664-9999 ext. 146
<br>fax: 413-664-9990
<br>e-mail: sshanny@eziba.com
<p>Shop <A HREF="http://www.eZiba.com">http://www.eZiba.com</A> where every object tells a story.
<br>&nbsp;</html>