Murga-Projects Forums
New line char in XML data - Printable Version

+- Murga-Projects Forums (http://www.murga-projects.com/forum)
+-- Forum: Project Forums (/forumdisplay.php?fid=1)
+--- Forum: MurgaLua - General (/forumdisplay.php?fid=2)
+--- Thread: New line char in XML data (/showthread.php?tid=22)


New line char in XML data - sk2007 - 05-21-2007 12:16 PM

Hello,

I discover that using importXml() all then new line character in the xml element data is converted to space. If I am not wrong the XML spec says that all new line, carrage return is converted to line feed ("\n"), not space.

Is it a known problem? it is rather annoying for me to do my work at the moment so if it is unexpected behavior then we should fix this.

Cheers