#170: Qutecom should use <rpid:activities><rpid:busy/></rpid:activities> rather
than <note>busy</note>
---------------------+------------------------------------------------------
Reporter: ibc | Owner: vadim
Type: defect | Status: new
Priority: major | Milestone: QuteCom 2.2-RC4
Component: phapi | Version: 2.2-RC3
Resolution: | Keywords:
---------------------+------------------------------------------------------
Comment(by ibc):
Replying to [comment:5 laurent]:
> Status is extracted with hard coded parser ( see
http://trac.qutecom.org/browser/wifo/phapi/phevents.c function
owplNotificationPresenceGetStatus )
Inspecting that function I see:
{{{
if((basic_start_tag = strstr(notify, "<basic")) == NULL) {
}}}
This is very harcoded XML parsing and would not work when using
namespaces.
It seems that it's coded to interoperate just with other
Qutecom/Wengophone clients :(
> For XPath, there is a lib called TinyXPath or we can use Qt framework
...
Yes, some of them would be required this feature to work properly. XML
namespaces support is fully required.
--
Ticket URL: <http://trac.qutecom.org/ticket/170#comment:6>
QuteCom <http://trac.qutecom.org>
_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev