Forum Discussion

richard_mccarth's avatar
richard_mccarth
Contributor
15 years ago

Formatting of XML changes message content when element starts with spaces

I have noticed that when I use the 'formal xml' option in soapUI 3.0 it will change the content within elements when they start / end with with space characters.

For example, see XML below, the boo element has data ' abc' where the first and last character is a space.


abc


When the format xml option is applied to this XML you get as shown below but the spaces in the boo element has been removed


    abc


Could you let me know if you think this is a bug or not ?

Thanks,

Richard

1 Reply

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi Richard,

    XML formatting usually removes trailing and leading whitespaces, there is no setting to get around that for now.. sorry..

    regards!

    /Ole
    eviware.com