xml: trim whitespace in sipe_xml_data()
commit96a286575826ba320f7a9423f73e83f4198cf5ad
authorJakub Adam <jakub.adam@ktknet.cz>
Mon, 3 Jun 2013 10:32:46 +0000 (3 12:32 +0200)
committerJakub Adam <jakub.adam@ktknet.cz>
Mon, 3 Jun 2013 10:34:48 +0000 (3 12:34 +0200)
tree8326cea1f931d106a1d196df5563b0cd5a3a8de4
parent6387740a1a1a6c49376c361265a5ff9cb3ce8c93
xml: trim whitespace in sipe_xml_data()

There are possible newlines between opening tag and first data character
in XML messages received from server. Specifically this caused problems
with <line> element in application/vnd-microsoft-roaming-self+xml.
src/core/sipe-utils.c
src/core/sipe-utils.h
src/core/sipe-xml.c