Re: [OpenSIPStack] pdif Parser
Brought to you by:
joegenbaclor
From: Matthias D. <mdr...@gm...> - 2008-08-25 12:16:39
|
Sorry I have no unit test code. I have tested the code by loading and saving a xml document. PXML xmlIn; xmlIn.LoadFile( "C:\\test.xml" ); RFC3863XMLHandler handler; RFC3863Document * rfcDoc = handler.Parse(xmlIn); PXML * xmlOut = 0; if (rfcDoc) { xmlOut = handler.CreateXMLDocument(*rfcDoc) } if (xmlOut) { xmlOut->SaveFile("C:\\test_new.xml"); } delete xmlOut; delete rfcDoc; The examples I got from http://www.faqs.org/rfcs/rfc3863.html and http://www.faqs.org/rfcs/rfc4480.html Matthias jo...@op... schrieb: > Hi Matthias, > > Can you include your unit test code as well? > > Joegen > > Matthias Dreißig wrote: > >> Hello Joegen, >> >> I wanted to wait for the result of your reviewing before I proceed >> with the parser. Now I've added also the ability to encode XML for the >> NOTIFY/PUBLISH body. >> >> I've tested both with example files from RFC-3863 and RFC-4480 and it >> seems to work correctly. >> >> Matthias >> >> jo...@op... schrieb: >> >>> Mathias, >>> >>> This is looking great! I can see that you have only implemented >>> handling of incoming PIDF from NOTIFY. We will also need the ability >>> to encode XML for PUBLISH when the UA initially announces it's >>> presence status to the presence server. When you get this done, we >>> can have the music start playing. >>> >>> Joegen >>> >>> Matthias Dreißig wrote: >>> >>> >>>> Hi Joegen, >>>> >>>> here are my pdif parser classes ready for reviewing. >>>> >>>> I'm ready for critique. ;) >>>> >>>> Matthias >>>> >>>> >>>> No virus found in this incoming message. >>>> Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus >>>> Database: 270.6.7/1628 - Release Date: 8/22/2008 6:32 PM >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> ------------------------------------------------------------------------- >>>> >>>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>>> challenge >>>> Build the coolest Linux based applications with Moblin SDK & win >>>> great prizes >>>> Grand prize is a trip for two to an Open Source event anywhere in >>>> the world >>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> _______________________________________________ >>>> opensipstack-devel mailing list >>>> ope...@li... >>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>>> >>>> >>> >>> ------------------------------------------------------------------------- >>> >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>> challenge >>> Build the coolest Linux based applications with Moblin SDK & win >>> great prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the >>> world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> opensipstack-devel mailing list >>> ope...@li... >>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>> >>> >>> >> No virus found in this incoming message. >> Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: >> 270.6.7/1631 - Release Date: 8/24/2008 12:15 PM >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > |