Hi all, when i test sipXtapiLibd.lib with sipXtackLibTest.exe tool, two error occured which are described as follow: 1) test: UrlTest::testBigUriScheme (F) line: 1611 e:\工作 \hollyc5\sipfoundry\sip xtapi\sipxtacklib\src\test\net\urltest.cpp assertion failed - Expression: bigschemeUrl.getScheme() == Url::UnknownUrlScheme 2) test: UrlTest::testBigUriHost (F) line: 1710 e:\工作 \hollyc5\sipfoundry\sipxt api\sipxtacklib\src\test\net\urltest.cpp assertion failed - Expression: bighostUrl.getScheme() == Url::UnknownUrlScheme After i have studied the src, i find there is a problem in the Url::parseString() function in Url.cpp. Any Urlstring can be parsed as SipUrlScheme only if the host string is correct. For example, a urlstring "1234:[EMAIL PROTECTED]" will be parsed as SipUrlScheme. The reason is that the mScheme attribute which is UnknownUrlScheme type formerly is reassigned SipUrlScheme type when the host string is matched. I do not know whether it is a bug or there is other explains for it. Appreciate your help!
Li Zhang _________________________________________________________________ 免费下载 MSN Explorer: http://explorer.msn.com/lccn/ _______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
