ch ku wrote:

Hi All

Has somebody came across any exception like this ?

No.


How Can I deal with Strings having length  more than
32k ? in xsp ??

You can patch XMLByteStreamCompiler.writeChars() / characters() and split up larchge chunks on smaller ones to fit UTF limitation.

Or, you can think of redesigning your software.


Vadim


(/cocoon/email_alert/EmailContent.xml)
Thread-11/ServerPagesGenerator: SAXException in
generate()
org.xml.sax.SAXException: UTFDataFormatException:
String cannot be longer than 32k.
at

org.apache.cocoon.components.sax.XMLByteStreamCompiler.writeChars(XMLByteStreamCompiler.java:299)
at

org.apache.cocoon.components.sax.XMLByteStreamCompiler.characters(XMLByteStreamCompiler.java:170)
at

org.apache.cocoon.components.captor.CapturingSAXConnector.characters(CapturingSAXConnector.java:176)
at

org.apache.cocoon.components.language.markup.xsp.XSPObjectHelper.data(XSPObjectHelper.java:196)
at

org.apache.cocoon.components.language.markup.xsp.XSPObjectHelper.xspExpr(XSPObjectHelper.java:296)


-chinmay



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to