cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Collen <>
Subject Re: String to bytestream?
Date Fri, 05 Sep 2003 20:15:32 GMT
Timothy Larson wrote:
> How do you convert a string to a byte stream, such as
> XMLByteStreamCompiler.getSAXFragment() produces?
> All my attempts fail with
>   "org.xml.sax.SAXException: End of input reached."
> when the the byte stream is later interpreted.
> I am just trying to encode a text node.

Hmm, well I'm not too familiar with SAX, but could you use yourString.getBytes() which returns
array of bytes, and then send that?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message