Recent

Author Topic: QUestion on strange result using WriteXMLFile  (Read 3815 times)

stab

  • Full Member
  • ***
  • Posts: 234
QUestion on strange result using WriteXMLFile
« on: July 03, 2010, 09:24:20 pm »
Hi all,

Can anyone explain why the resulting XML-file created by attached project has
in tag: <Data> CR+CR+LF at the end of each row despite the code adds LineEnding?

Regards
Staffan

stab

  • Full Member
  • ***
  • Posts: 234
Re: QUestion on strange result using WriteXMLFile
« Reply #1 on: July 03, 2010, 09:26:02 pm »
Sorry, forgot:

OS: Windows XP sp 3
FPC version: 2.2.4
SVN Revision: 22279

Staffan

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1930
Re: QUestion on strange result using WriteXMLFile
« Reply #2 on: July 03, 2010, 10:05:01 pm »
Did you test with a newer FPC/Lazarus version?
ftp://ftp.freepascal.org/pub/lazarus/snapshots/

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11933
  • FPC developer.
Re: QUestion on strange result using WriteXMLFile
« Reply #3 on: July 05, 2010, 11:28:23 am »
What theo says.  The XML units have had massive updates in 2.4 and 2.4.2 thanks to the great work of Sergei.

 

TinyPortal © 2005-2018