• Michael Digger
  • NEWBIE
  • 0 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Is anybody else experiencing differently formatted XML from the following two commands?
  • sfdx force:mdapi:retrieve
  • sfdx force:source:convert

Ideally, if do a (1) mdapi:retrieve, then a (2) mdapi:convert, and then a (3) source:convert, the outputs of the first and third commands should be exactly the same.  However, I am seeing that the XML file outputs are different.  Mdapi:retrieve outputs "'", while source:convert outputs "'".  Mdapi:retrieve sometimes outputs a extra newline at the end of a file that source:convert does not.  And they sometimes output XML nodes in a different order from each other.

I have resolved this problem through code.  I'm wondering if anybody else has experienced this difference and what you are doing about it.