cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neeme Praks" <ne...@one.lv>
Subject serializer issue?
Date Mon, 24 Jul 2000 14:11:43 GMT

Can someone comment on how are CRLF's (carriage return + line feed)
handled in serializers?

I'm experiencing strange behaviour in my Cocoon 1.7.4... I have text
field from database that I want to output to the TEXTAREA element...
When I output the text as an attribute (e.g. VALUE attribute on INPUT
ELEMENT), all CRLF's are handled corretly. However, when I put the text
in the markup (within TEXTAREA element), all the CRLF's are showed
twice...

Example would be:
<INPUT VALUE="1
2
3
4
5
6
7
8
10"/>

vs.
<TEXTAREA>1

2

3

4

5

6

7

8

9

10</TEXTAREA>

Does it depend on encoding maybe?
I have my source XML file encoded as UTF-8 and I'm viewing this output
in IE5 on W2K...

Any ideas?

Neeme

Mime
View raw message