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
|