[JDEV] Re: Re: missing </stream:stream>
    Robert Temple 
    robert.temple at dig.com
       
    Fri Sep 22 14:22:52 CDT 2000
    
    
  
> Quoting Robert Temple <robert.temple at dig.com>:
>> You have to attach an input source to a SAX parser.  And in this case,
that
>> input source is a socket using calls to recv.
>  An input source can be something like a BufferedReader, attached to a
local 
> Output stream.  Then you read from the socket, and push to the output
stream, 
> which is read by the input stream.  (Ok, not as easy as all that sounds,
but 
> it's sound, at least from a Java perspective..)
For other reasons, this is actually almost exactly what I'm doing.  I only
want 
to stick the data I get from the socket into the stream.  Cause I don't want
to screw up the parser more by accidentally giving it something like:
<presen</stream:stream>ce to='blah'>  And I certainly don't want to
complicate
things by keeping track of when its okay to insert a </stream:stream>.
-Robert
    
    
More information about the JDev
mailing list