Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Dec 2017
    Thanked 0 Times in 0 Posts

    XML expected behaviour

    I've been asked to create xml to be sent over e-mail, to compile a PDF form at the receiver end. I did it by saving a .XML file and filling it using a c program. My question is, knowing that windows add CR LF at the end of each line, should I add a function in my program that removes the CRs or the CR removal is done by every program that can handle/process xml files automatically by the recipient?

    Any help is much appreciated.

  2. #2
    Join Date
    May 2002
    Hayward, CA
    Thanked 24 Times in 22 Posts
    That's really a question you should ask your customer. XML really doesn't care about CRLF versus LF.
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, ES-Membrane project (Github Pages site)
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts