< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

[reSIProcate] Problem to implement "pidf-xml-ns with RPID/CPID" in resiprocate code


hi....
I am facing some problems when implemented "pidf-XML" through resiprocate code...
There are some senarios...
i)
   when passing text in form of "*simple pidf-xml"* in Data.....
------------------------------
------------------------------------------------------------------
   const Data txt("<?xml version=\"1.0\" encoding=\"UTF-8\"?>" "\r\n"
   "<presence xmlns=\"urn:ietf:params:xml:ns:pidf:\"" "\r\n"
          "entity=\"sip:sattest@xxxxxxxxxxxxxxxx\">" "\r\n"
..............................................
............................................);
   HeaderFieldValue hfv(txt.data(), txt.size());
   Mime type("application", "pidf+xml");
   Pidf pc(&hfv, type);
-------------------------------------------------------------------------------------------------------------------
I got every entity and tuples from above case....
but when I passed text as a *"pidf-xml with namespace"* or *"pidf-xml with namespace with RPID/CIPID " *
then I am not able to get entity and tuples....
*Whether reciprocate code supports pidf-xml with namespace/pidf-xml - namespace with RPID/CIPID ???????????????????
*if yes then how it will implement???????????

Please reply any one as soon...
Thanks in advance.....

Regards...
Kundan