Forum Discussion

jrforeman's avatar
jrforeman
Occasional Contributor
4 years ago

How to prevent ReadyAPI from randomly changing how it stores empty XML elements?

Why does ReadyAPI change how it stores a blank XML tag from, say <con:properties/> to <con:properties></con:properties>   If I make one change and save, I may see many of these differences, whic...
  • jrforeman's avatar
    jrforeman
    3 years ago

    So the solution really is: You can't prevent it. Whenever you upgrade, the new version of ReadyAPI will do whatever it wants with regard to the empty XML fields... some versions will generate a beginning tag and end tag <tag></tag>, then the next version may decide to use the shortcut <tag/>, and the version after that may revert to the expanded <tag></tag> again, and there is nothing to be done but allow it. 😞