Forum Discussion

AkeAke's avatar
AkeAke
New Contributor
13 years ago

Ending spaces in response trimmed when viewing in Xml mode

If an element contains ending whitespaces, shown like this in raw mode:
<SupplierProdCode>000 000 12 12 123  </SupplierProdCode>

The ending spaces are not shown in Xml view:
<SupplierProdCode>000 000 12 12 123</SupplierProdCode>


I believe this is incorrect behavior, since the spaces are inside the element.

Cost me half a days work before I noticed it

2 Replies

  • ajcapri's avatar
    ajcapri
    Occasional Contributor
    Can you check PrettyPrint property on that individual test case or at project level?
  • AkeAke's avatar
    AkeAke
    New Contributor
    ajcapri wrote:
    Can you check PrettyPrint property on that individual test case or at project level?

    "Pretty print" was enabled (I haven't touched that setting). I don't have that data left in my DB right now, so I can't test with Pretty print disabled.

    If that's the way pretty print should work, I disagree with the default setting =)