I found the thread:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg03337.html
I think it is a bigger problem with xalan.... But I am clueless :)
JD
-----Original Message----- From: JD Daniels [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 1:54 PM To: Cocoon Users Subject: Xalan Problem
I noticed a few releases ago that cocoon.xconf was peppered with at the end of every line.
There was a post about this , and the consensus seemed to be not to worry about it. But now I am stuck. I am using woody and xsp together, so my forms are coming out:
<textarea> some text more text. a little more text </textarea>
So whats happening is everytime soemone edits something... the carriage returns are doubled.
How can i make go away?
A colleague of mine encountered this already. IIRC, the Xalan serializers uses the line endings of the server platform, i.e. CR/LF on windows. This is not a problem for normal text, but when filling a textarea the CR/LF are sent back to the server, and the parser considers only LF as the line ending, and so inserts a
After a few rountrips on the form, you end up with lots of
IIRC, this is something along these lines.
Now, I don't know the solution, except filtering those when reading the request parameter.
Hope this helps, Sylvain
-- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } Orixo, the opensource XML business alliance - http://www.orixo.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
