cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ch ku <gajch...@yahoo.com>
Subject Re: How Can I deal with Strings having length more than 32k ? in xsp ??
Date Tue, 22 Oct 2002 03:07:00 GMT
Thanks Vadim

chinmay
--- Vadim Gritsenko <vadim.gritsenko@verizon.net>
wrote:
> 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:
> cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email:
> cocoon-dev-help@xml.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

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


Mime
View raw message