W3C home > Mailing lists > Public > www-voice@w3.org > April to June 2010

Re: April CCXML: test case 882 error? [should be 852] - [cc] ISSUE-690

From: RJ Auburn <rj@voxeo.com>
Date: Thu, 13 May 2010 10:48:40 -0400
Cc: www-voice <www-voice@w3.org>, W3C Voice Browser Working Group <w3c-voice-wg@w3.org>
Message-Id: <47973895-BCE8-4B45-92C4-F2E9D119D38B@voxeo.com>
To: Chris Davis <davisc@iivip.com>
Chris:

This is ISSUE-690

	RJ

---
RJ Auburn
CTO, Voxeo Corporation
tel:+1-407-418-1800

Come join us at our Voxeo Customer Summit
June 21st  June 23rd at the Hard Rock Hotel
Register today for your All Access Pass:  
http://www.voxeo.com/summits/customer




On Apr 27, 2010, at 4:32 PM, Chris Davis wrote:

> Correction: the test case # is 852, not 882
> 
> Chris Davis wrote:
>> Hello www-voice,
>> 
>> Test #882 seems to test that a conference ID is a legal URI.
>> 
>> It uses a cryptic value passed to "match":
>> ---------
>> if (confid.match(/^([A-Za-z]:\/\/(.*\/)+)?(\w)+$/) != undefined )
>> ------------------------
>> 
>> I ran some sample URIs from RFC2396 through the same "match" usage
>> as the test case and am told URIs are not URIs.
>> 
>> Examples that it claims are not URIs:
>> ftp://ftp.is.co.za/rfc/rfc1808.txt
>> http://www.math.uio.no/faq/compression-faq/part1.html
>> 
>> <html>
>> <body>
>> <pre>
>> <script type="text/javascript">
>> var confid = 'ftp://ftp.is.co.za/rfc/rfc1808.txt';
>> 
>> if (confid.match(/^([A-Za-z]:\/\/(.*\/)+)?(\w)+$/) != undefined )
>> {
>>   document.write( confid + ' is a URI' );
>> }
>> else
>> {
>>   document.write( confid + ' is NOT a URI' );
>> }
>> 
>> </script>
>> </pre>
>> </body>
>> </html>
>> 
>> This is part of 10_5_5_A.txml.
>> 
>> Thanks
>> 
> 
> 
> -- 
> Chris Davis
> Interact Incorporated R&D
> 512-502-9969x117
> 
> 
> 
Received on Thursday, 13 May 2010 14:49:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 13 May 2010 14:49:21 GMT