source: trunk/ICeCoffEE/ICeCoffEE/urls.plist @ 382

Last change on this file since 382 was 382, checked in by Nicholas Riley, 12 years ago

TestParser?.m: Don't permit empty strings to pass through; they break
ICCF_ParseURL. Print invalid range in ICCF_CheckRange. Support
delimiters in 'uri' or 'text' for initialSelectionRange; can be used
in addition to | |, which as before tries every single-character
starting range.

urls.plist: A few more tests, for IPv6 address recognition, delimited
expansion and multiple ending delimiters.

File size: 2.1 KB
Line 
1(
2  { /* OK to start from anywhere */
3    uri = "https://www-s.acm.uiuc.edu/wiki/space/(user)mloar2";
4  },
5
6  { /* OK to start between vertical bars */
7    uri = "https://www-s.acm.uiuc.edu/wiki/space/usermloar2";
8    text = "foo|(https://www-s.acm.uiuc.edu/wiki/space/usermloar2)|bar";
9  },
10 
11  { /* Start with caret-delimited selection */
12    uri = "https://www-s.acm.uiuc.edu/wiki/space/^(user)^mloar2";
13  },
14
15  {
16    uri = "https://www-s.acm.uiuc.edu/wiki/space/(u^ser)m^loar2";
17  },
18
19  {
20    uri = "https://www-s.acm.uiuc.edu/wiki/space/mloar2^(user)^";
21  },
22
23  {
24    uri = "https://www-s.acm.uiuc.edu/wiki/space/usermloar2";
25    text = "|<https://www-s.acm.uiuc.edu/wiki/space/usermloar2>|foo";
26  },
27 
28  {
29    uri = "http://en.wikipedia.org/wiki/Paprika_(2006_film)";
30  },
31 
32  {
33    uri = "http://en.wikipedia.org/wiki/Paprika_(2006_film)";
34    text = "|<http://en.wikipedia.org/wiki/Paprika_(2006_film)>|";
35  },
36 
37  {
38    uri = "http://story.news.yahoo.com/news?tmpl=story2&u=/040101/481/sha10101010510&e=10";
39  },
40 
41  { /* braces are non RFC compliant, but still in use */
42    uri = "http://alcoholpolicy.niaaa.nih.gov/index.asp?SEC={D65EC56D-D907-4A83-A247-063D27196124}&Type=APIS_SEARCH67&TAXONOMYid={221812BD-4072-4C20-ACAF-8EFFAF9FF5DD}&GROUP=INDEPTHSINGLEDATE#coldefs";
43  },
44 
45  { /* from RFC 3986 */
46    uri = "ftp://ftp.is.co.za/rfc/rfc1808.txt";
47  },
48 
49  {
50    uri = "http://www.ietf.org/rfc/rfc2396.txt";
51  },
52 
53  {
54    uri = "ldap://[2001:db8::7]/c=GB?objectClass?one";
55  },
56 
57  {
58    uri = "mailto:John.Doe@example.com";
59  },
60 
61  {
62    uri = "news:comp.infosystems.www.servers.unix";
63  },
64 
65  {
66    uri = "tel:+1-816-555-1212";
67  },
68 
69  {
70    uri = "telnet://192.0.2.16:80/";
71  },
72 
73  {
74    uri = "urn:oasis:names:specification:docbook:dtd:xml:4.1.2";
75  },
76
77  {
78    uri = "web.sabi.net";
79    text = "foo bar baz|(web.sabi.net)|baz bar foo";
80  },
81 
82  {
83    uri = "telnet:foo";
84    text = "foo bar baz|[telnet:foo]|baz bar foo";
85  },
86
87  {
88    uri = "http://en.wikipedia.org/wiki/Paprika_(2006_film)";
89    text = "|<http://en.wikipedia.org/wiki/Paprika_(2006_film)>|foo";
90  },
91)
92
93/*
94  {
95    uri = "";
96  },
97*/
Note: See TracBrowser for help on using the repository browser.