[sr-dev] git:master:30166790: presence_xml: do not allocate memory before getting presence node