cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Collen <colle...@umn.edu>
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
an 
array of bytes, and then send that?

Regards,

Tony


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message