cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Braasch ...@nmmn.com>
Subject carriage returns as 
?
Date Tue, 05 Nov 2002 03:25:58 GMT
I have a problem to populate a html textarea correctly
with my latest CVS builds.

Suppose the following example:
  * esql gives a formated string: "line one\r\nline two"
  * some xsl transformation steps
  * html serializer 

The html output is something like this:

<textarea>lineone&#13 
line two</textarea>

=> The carriage return char is referenced as an entity 
which will not be properly processed if cocoon runs on a
windows machine (the result contains 3 lines of text instead of 2 ).
This line doubling problem did not occur on our Linux servers, 
though.

I wonder if anyone has an idea how this problem could be solved. I 
found two similar problem descriptions in the cocoon-users and 
cocoon-dev mailing list archive, but I could not find any answers
there.

Thanks for your time,
Markus 

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


Mime
View raw message