[reSIProcate] createContents() of reSiprocate
ajay.kaushik at tcs.com
ajay.kaushik at tcs.com
Fri Aug 11 05:22:30 CDT 2006
Hi all,
I'm using resiprocate Stack to build the Instant Messaging/Presence
Server.
My problem is that when i use createContents function of Contents.cxx file
my prog crashes in that function.
Has anybody worked in that field.
here is how i'm using the creatContent function
Mime type("application","pidf+xml);
Data Contents(
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n"
"<presence
xmlns:impp=\"urn:ietf:params:xml:ns:pidf\"
entity=\"pres:preeti at 172.21.111.222\">\r\n"
"<tuple id=\"765\">\r\n"
"<status>\r\n"
"<basic>open</basic>\r\n"
"</status>\r\n"
"</tuple>\r\n"
"</presence\r\n"
"\r\n");
Contents *cont=Contents::createContents(type,contents);
when my prog steps into createContents it say assertion(!contents.mMine)
failed.
Is there any thing related to HeaderFieldValue also because while
debugging i found that hfv was not defined in that context.
May be i'm missing a small thing but my code crashes again n again.
If any body can provide me with the sample code for creating contents that
will be of great help to me.
Thanks in advance
Ajay Kaushik
Tata Consultancy Services Limited
Mailto: ajay.kaushik at tcs.com
Website: http://www.tcs.com
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20060811/5b6ea9ca/attachment.htm>
More information about the resiprocate-devel
mailing list