It was reported that this whitespace treatment may cause an undesired effect on XML DSIG causing it to be invalid. While this is still under investigation, this ticket will make it possible to bypass whitespace treatment which can be used for debugging purposes.
According to https://gazelle.ihe.net/gazelle-documentation/Gazelle-STS/user.html, "Line break and whitespaces must be stripped out from requests, otherwise the following requests will not work." This is used for the XUA tests and it worked fine for those tests.
It was reported that this whitespace treatment may cause an undesired effect on XML DSIG causing it to be invalid. While this is still under investigation, this ticket will make it possible to bypass whitespace treatment which can be used for debugging purposes.