Using xerces1_0_3 on a UNIX system.

We update a cdata_section_node with the input from a <textarea> on JSP-page.
The data is inserted in the document with setNodeValue() and later the
document is serialized with the serializer. However each time we update the
document (after serializing it to disk and reading it back as a document) it
multiplies every linebreak break by two. So a two-line content have, after
the first save, an empty line between the two original lines. For each
consecutive save it add an extra linebreak for every linebreak that is
encountered, so at the fourth update the space between the lines is 16
rows!. 

Anybody encountered this behaviour and found a soloution to it?    



________________________________s_p_r_a_y  
Johan Mörén | [EMAIL PROTECTED]
Tel: 08-52790258 | Mob: 0709-322214
Home: 08-332826 | ICQ: 40762148

Reply via email to