Ticket #4961 (reopened Bug report)

Opened 10 months ago

Last modified 10 months ago

File Server.xml: ver 0.9.33 - tags with multilines text are reformatted on a single line

Reported by: borgo2009 Owned by:
Priority: normal Component: FileZilla Server
Keywords: config file, xml Cc:
Operating system type: Windows Operating system version: Windows 2003 server

Description

I use FileZilla Server 0.9.33 beta
In file "File Server.xml" I use the tag CDATA like in the following example:

<Item name="Initial Welcome Message" type="string">
<![CDATA[
.....text
.....more text
.....more more text
]]>
</Item>

The problem is that fileZilla remove CDATA tag and reformat all my welcome message as one text line, as shown below

<Item name="Initial Welcome Message" type="string">.....text.....more text.....more more text<Item>

Regards

Andrea

Change History

Changed 10 months ago by codesquid

  • status changed from new to closed
  • resolution set to wontfix

CDATA isn't supported, not part of the schema. Try using \n for linebreaks.

Changed 10 months ago by borgo2009

  • status changed from closed to reopened
  • resolution wontfix deleted

No way with "\n" string nor with invisible char \n
The parser always format my text on a signle line.
With the 9.32 version all works right and the parser didn't format my config tag on a single line.

The bug is not the use of CDATA but the reformating behavior of the xml config file.

Changed 10 months ago by borgo2009

  • summary changed from File Server.xml: CDATA tag not parsed correctly on 0.9.33 to File Server.xml: ver 0.9.33 - tags with multilines text are reformatted on a single line
Note: See TracTickets for help on using tickets.