#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):

 This feature involves a bit more complex XML handling as the new XML would
 use different namespaces. So I would like to know:

 - Which XML parser does Qutecom use?
 - Does Qutecom perform Xpath lookup using namespaces to search into the
 XML document?

 For example, Qutecom cannot expect that the XML into the received NOTIFY
 contains:
 {{{
 xmlns:rpid='urn:ietf:params:xml:ns:pidf:rpid'
 ...
     <rpid:activities>
       <rpid:busy/>
     </rpid:activities>
 ...
 }}}
 as instead it could contain:
 {{{
 xmlns:lalala='urn:ietf:params:xml:ns:pidf:rpid'
 ...
     <lalala:activities>
       <lalala:busy/>
     </lalala:activities>
 ...
 }}}
 and would have the same meaning.

 If Qutecom XML parser is namespaces aware there would be no problem on
 parsing any of them.

-- 
Ticket URL: <http://trac.qutecom.org/ticket/170#comment:4>
QuteCom <http://trac.qutecom.org>

_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev

Reply via email to