forked from jcgregorio/uri-templates
-
Notifications
You must be signed in to change notification settings - Fork 2
/
draft-gregorio-uritemplate-07-from-6.diff.html
825 lines (824 loc) · 179 KB
/
draft-gregorio-uritemplate-07-from-6.diff.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- Generated by rfcdiff 1.34: rfcdiff -->
<!-- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional" > -->
<!-- System: Darwin simak.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386 -->
<!-- Using awk: /usr/local/bin/gawk: GNU Awk 3.1.8 -->
<!-- Using diff: /usr/bin/diff: diff (GNU diffutils) 2.8.1 -->
<!-- Using wdiff: /usr/local/bin/wdiff: wdiff (GNU wdiff) 0.6.5 -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<title>Diff: draft-gregorio-uritemplate-06.txt - draft-gregorio-uritemplate-07.txt</title>
<style type="text/css">
body { margin: 0.4ex; margin-right: auto; }
tr { }
td { white-space: pre; font-family: monospace; vertical-align: top; font-size: 0.86em;}
th { font-size: 0.86em; }
.small { font-size: 0.6em; font-style: italic; font-family: Verdana, Helvetica, sans-serif; }
.left { background-color: #EEE; }
.right { background-color: #FFF; }
.diff { background-color: #CCF; }
.lblock { background-color: #BFB; }
.rblock { background-color: #FF8; }
.insert { background-color: #8FF; }
.delete { background-color: #ACF; }
.void { background-color: #FFB; }
.cont { background-color: #EEE; }
.linebr { background-color: #AAA; }
.lineno { color: red; background-color: #FFF; font-size: 0.7em; text-align: right; padding: 0 2px; }
.elipsis{ background-color: #AAA; }
.left .cont { background-color: #DDD; }
.right .cont { background-color: #EEE; }
.lblock .cont { background-color: #9D9; }
.rblock .cont { background-color: #DD6; }
.insert .cont { background-color: #0DD; }
.delete .cont { background-color: #8AD; }
.stats, .stats td, .stats th { background-color: #EEE; padding: 2px 0; }
</style>
</head>
<body >
<table border="0" cellpadding="0" cellspacing="0">
<tr bgcolor="orange"><th></th><th> draft-gregorio-uritemplate-06.txt </th><th> </th><th> draft-gregorio-uritemplate-07.txt </th><th></th></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left">Network Working Group J. Gregorio</td><td> </td><td class="right">Network Working Group J. Gregorio</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left">Internet-Draft Google</td><td> </td><td class="right">Internet-Draft Google</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0001" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock">Intended status: Standards Track R. <span class="delete">Fielding, Ed.</span></td><td> </td><td class="rblock">Intended status: Standards Track R. <span class="insert">Fielding</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock">Expires: <span class="delete">February 21,</span> 2012 Adobe</td><td> </td><td class="rblock">Expires: <span class="insert">March 29,</span> 2012 Adobe</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> M. Hadley</td><td> </td><td class="right"> M. Hadley</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0002" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> <span class="delete">Oracle</span></td><td> </td><td class="rblock"> <span class="insert"> MITRE</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> M. Nottingham</td><td> </td><td class="right"> M. Nottingham</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0003" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> Rackspace</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> D. Orchard</td><td> </td><td class="right"> D. Orchard</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0004" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> <span class="delete">Aug 20,</span> 2011</td><td> </td><td class="rblock"> <span class="insert">Salesforce.com</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> Sep 26,</span> 2011</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> URI Template</td><td> </td><td class="right"> URI Template</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0005" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> draft-gregorio-uritemplate-0<span class="delete">6</span></td><td> </td><td class="rblock"> draft-gregorio-uritemplate-0<span class="insert">7</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left">Abstract</td><td> </td><td class="right">Abstract</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> A URI Template is a compact sequence of characters for describing a</td><td> </td><td class="right"> A URI Template is a compact sequence of characters for describing a</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> range of Uniform Resource Identifiers through variable expansion.</td><td> </td><td class="right"> range of Uniform Resource Identifiers through variable expansion.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> This specification defines the URI Template syntax and the process</td><td> </td><td class="right"> This specification defines the URI Template syntax and the process</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> for expanding a URI Template into a URI reference, along with</td><td> </td><td class="right"> for expanding a URI Template into a URI reference, along with</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> guidelines for the use of URI Templates on the Internet.</td><td> </td><td class="right"> guidelines for the use of URI Templates on the Internet.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left">Editorial Note (to be removed by RFC Editor)</td><td> </td><td class="right">Editorial Note (to be removed by RFC Editor)</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno"></td></tr>
<tr bgcolor="gray" ><td></td><th><a name="part-l2" /><small>skipping to change at</small><em> page 1, line 44</em></th><th> </th><th><a name="part-r2" /><small>skipping to change at</small><em> page 1, line 46</em></th><td></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Internet-Drafts are working documents of the Internet Engineering</td><td> </td><td class="right"> Internet-Drafts are working documents of the Internet Engineering</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Task Force (IETF). Note that other groups may also distribute</td><td> </td><td class="right"> Task Force (IETF). Note that other groups may also distribute</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> working documents as Internet-Drafts. The list of current Internet-</td><td> </td><td class="right"> working documents as Internet-Drafts. The list of current Internet-</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Drafts is at http://datatracker.ietf.org/drafts/current/.</td><td> </td><td class="right"> Drafts is at http://datatracker.ietf.org/drafts/current/.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Internet-Drafts are draft documents valid for a maximum of six months</td><td> </td><td class="right"> Internet-Drafts are draft documents valid for a maximum of six months</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> and may be updated, replaced, or obsoleted by other documents at any</td><td> </td><td class="right"> and may be updated, replaced, or obsoleted by other documents at any</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> time. It is inappropriate to use Internet-Drafts as reference</td><td> </td><td class="right"> time. It is inappropriate to use Internet-Drafts as reference</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> material or to cite them other than as "work in progress."</td><td> </td><td class="right"> material or to cite them other than as "work in progress."</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0006" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> This Internet-Draft will expire on <span class="delete">February 21</span>, 2012.</td><td> </td><td class="rblock"> This Internet-Draft will expire on <span class="insert">March 29</span>, 2012.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left">Copyright Notice</td><td> </td><td class="right">Copyright Notice</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0007" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> </span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Copyright (c) 2011 IETF Trust and the persons identified as the</td><td> </td><td class="right"> Copyright (c) 2011 IETF Trust and the persons identified as the</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> document authors. All rights reserved.</td><td> </td><td class="right"> document authors. All rights reserved.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> This document is subject to BCP 78 and the IETF Trust's Legal</td><td> </td><td class="right"> This document is subject to BCP 78 and the IETF Trust's Legal</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Provisions Relating to IETF Documents</td><td> </td><td class="right"> Provisions Relating to IETF Documents</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> (http://trustee.ietf.org/license-info) in effect on the date of</td><td> </td><td class="right"> (http://trustee.ietf.org/license-info) in effect on the date of</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> publication of this document. Please review these documents</td><td> </td><td class="right"> publication of this document. Please review these documents</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> carefully, as they describe your rights and restrictions with respect</td><td> </td><td class="right"> carefully, as they describe your rights and restrictions with respect</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> to this document. Code Components extracted from this document must</td><td> </td><td class="right"> to this document. Code Components extracted from this document must</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> include Simplified BSD License text as described in Section 4.e of</td><td> </td><td class="right"> include Simplified BSD License text as described in Section 4.e of</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno"></td></tr>
<tr bgcolor="gray" ><td></td><th><a name="part-l3" /><small>skipping to change at</small><em> page 2, line 15</em></th><th> </th><th><a name="part-r3" /><small>skipping to change at</small><em> page 2, line 17</em></th><td></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> This document is subject to BCP 78 and the IETF Trust's Legal</td><td> </td><td class="right"> This document is subject to BCP 78 and the IETF Trust's Legal</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Provisions Relating to IETF Documents</td><td> </td><td class="right"> Provisions Relating to IETF Documents</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> (http://trustee.ietf.org/license-info) in effect on the date of</td><td> </td><td class="right"> (http://trustee.ietf.org/license-info) in effect on the date of</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> publication of this document. Please review these documents</td><td> </td><td class="right"> publication of this document. Please review these documents</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> carefully, as they describe your rights and restrictions with respect</td><td> </td><td class="right"> carefully, as they describe your rights and restrictions with respect</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> to this document. Code Components extracted from this document must</td><td> </td><td class="right"> to this document. Code Components extracted from this document must</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> include Simplified BSD License text as described in Section 4.e of</td><td> </td><td class="right"> include Simplified BSD License text as described in Section 4.e of</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> the Trust Legal Provisions and are provided without warranty as</td><td> </td><td class="right"> the Trust Legal Provisions and are provided without warranty as</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> described in the Simplified BSD License.</td><td> </td><td class="right"> described in the Simplified BSD License.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0008" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> <span class="delete">This document may contain material from IETF Documents or IETF</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> Contributions published or made publicly available before November</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> 10, 2008. The person(s) controlling the copyright in some of this</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> material may not have granted the IETF Trust the right to allow</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> modifications of such material outside the IETF Standards Process.</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> Without obtaining an adequate license from the person(s) controlling</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> the copyright in such materials, this document may not be modified</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> outside the IETF Standards Process, and derivative works of it may</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> not be created outside the IETF Standards Process, except to format</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> it for publication as an RFC or to translate it into languages other</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> than English.</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> </td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left">Table of Contents</td><td> </td><td class="right">Table of Contents</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0009" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . <span class="delete">4</span></td><td> </td><td class="rblock"> 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . <span class="insert">3</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 1.1. Overview . . . . . . . . . . . . . . . . . . . . . . . . . <span class="delete">4</span></td><td> </td><td class="rblock"> 1.1. Overview . . . . . . . . . . . . . . . . . . . . . . . . . <span class="insert">3</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 1.2. Levels and Expression Types . . . . . . . . . . . . . . . <span class="delete">6</span></td><td> </td><td class="rblock"> 1.2. Levels and Expression Types . . . . . . . . . . . . . . . <span class="insert">5</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 1.3. Design Considerations . . . . . . . . . . . . . . . . . . <span class="delete">10</span></td><td> </td><td class="rblock"> 1.3. Design Considerations . . . . . . . . . . . . . . . . . . <span class="insert">9</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 1.4. Limitations . . . . . . . . . . . . . . . . . . . . . . . <span class="delete">11</span></td><td> </td><td class="rblock"> 1.4. Limitations . . . . . . . . . . . . . . . . . . . . . . . <span class="insert">10</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 1.5. Notational Conventions . . . . . . . . . . . . . . . . . . <span class="delete">12</span></td><td> </td><td class="rblock"> 1.5. Notational Conventions . . . . . . . . . . . . . . . . . . <span class="insert">11</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 1.6. Character Encoding and Unicode Normalization . . . . . . . <span class="delete">13</span></td><td> </td><td class="rblock"> 1.6. Character Encoding and Unicode Normalization . . . . . . . <span class="insert">12</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 2. Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . <span class="delete">14</span></td><td> </td><td class="rblock"> 2. Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . <span class="insert">13</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 2.1. Literals . . . . . . . . . . . . . . . . . . . . . . . . . <span class="delete">14</span></td><td> </td><td class="rblock"> 2.1. Literals . . . . . . . . . . . . . . . . . . . . . . . . . <span class="insert">13</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 2.2. Expressions . . . . . . . . . . . . . . . . . . . . . . . <span class="delete">14</span></td><td> </td><td class="rblock"> 2.2. Expressions . . . . . . . . . . . . . . . . . . . . . . . <span class="insert">13</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 2.3. Variables . . . . . . . . . . . . . . . . . . . . . . . . <span class="delete">15</span></td><td> </td><td class="rblock"> 2.3. Variables . . . . . . . . . . . . . . . . . . . . . . . . <span class="insert">14</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 2.4. Value Modifiers . . . . . . . . . . . . . . . . . . . . . <span class="delete">16</span></td><td> </td><td class="rblock"> 2.4. Value Modifiers . . . . . . . . . . . . . . . . . . . . . <span class="insert">15</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 2.4.1. Prefix Values . . . . . . . . . . . . . . . . . . . . <span class="delete">16</span></td><td> </td><td class="rblock"> 2.4.1. Prefix Values . . . . . . . . . . . . . . . . . . . . <span class="insert">15</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 2.4.2. Composite Values . . . . . . . . . . . . . . . . . . . <span class="delete">17</span></td><td> </td><td class="rblock"> 2.4.2. Composite Values . . . . . . . . . . . . . . . . . . . <span class="insert">16</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 3. Expansion . . . . . . . . . . . . . . . . . . . . . . . . . . <span class="delete">18</span></td><td> </td><td class="rblock"> 3. Expansion . . . . . . . . . . . . . . . . . . . . . . . . . . <span class="insert">17</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 3.1. Literal Expansion . . . . . . . . . . . . . . . . . . . . <span class="delete">18</span></td><td> </td><td class="rblock"> 3.1. Literal Expansion . . . . . . . . . . . . . . . . . . . . <span class="insert">17</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> 3.2. Expression Expansion . . . . . . . . . . . . . . . . . . . 18</td><td> </td><td class="right"> 3.2. Expression Expansion . . . . . . . . . . . . . . . . . . . 18</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0010" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 3.2.1. Variable Expansion . . . . . . . . . . . . . . . . . . 1<span class="delete">9</span></td><td> </td><td class="rblock"> 3.2.1. Variable Expansion . . . . . . . . . . . . . . . . . . 1<span class="insert">8</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> 3.2.2. Simple String Expansion: {var} . . . . . . . . . . . . 20</td><td> </td><td class="right"> 3.2.2. Simple String Expansion: {var} . . . . . . . . . . . . 20</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0011" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 3.2.3. Reserved expansion: {+var} . . . . . . . . . . . . . . <span class="delete">21</span></td><td> </td><td class="rblock"> 3.2.3. Reserved expansion: {+var} . . . . . . . . . . . . . . <span class="insert">20</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 3.2.4. Fragment expansion: {#var} . . . . . . . . . . . . . . <span class="delete">22</span></td><td> </td><td class="rblock"> 3.2.4. Fragment expansion: {#var} . . . . . . . . . . . . . . <span class="insert">21</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 3.2.5. Label expansion with dot-prefix: {.var} . . . . . . . <span class="delete">23</span></td><td> </td><td class="rblock"> 3.2.5. Label expansion with dot-prefix: {.var} . . . . . . . <span class="insert">22</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 3.2.6. Path segment expansion: {/var} . . . . . . . . . . . . <span class="delete">23</span></td><td> </td><td class="rblock"> 3.2.6. Path segment expansion: {/var} . . . . . . . . . . . . <span class="insert">22</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 3.2.7. Path-style parameter expansion: {;var} . . . . . . . . <span class="delete">24</span></td><td> </td><td class="rblock"> 3.2.7. Path-style parameter expansion: {;var} . . . . . . . . <span class="insert">23</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 3.2.8. Form-style query expansion: {?var} . . . . . . . . . . <span class="delete">25</span></td><td> </td><td class="rblock"> 3.2.8. Form-style query expansion: {?var} . . . . . . . . . . <span class="insert">24</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 3.2.9. Form-style query continuation: {&var} . . . . . . . . <span class="delete">25</span></td><td> </td><td class="rblock"> 3.2.9. Form-style query continuation: {&var} . . . . . . . . <span class="insert">24</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 4. Security Considerations . . . . . . . . . . . . . . . . . . . <span class="delete">26</span></td><td> </td><td class="rblock"> 4. Security Considerations . . . . . . . . . . . . . . . . . . . <span class="insert">25</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . <span class="delete">26</span></td><td> </td><td class="rblock"> 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . <span class="insert">25</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 6. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . <span class="delete">26</span></td><td> </td><td class="rblock"> 6. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . <span class="insert">25</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> 7. Normative References . . . . . . . . . . . . . . . . . . . . . <span class="delete">26</span></td><td> </td><td class="rblock"> 7. Normative References . . . . . . . . . . . . . . . . . . . . . <span class="insert">25</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> Appendix A. Implementation Hints . . . . . . . . . . . . . . . . <span class="delete">27</span></td><td> </td><td class="rblock"> Appendix A. Implementation Hints . . . . . . . . . . . . . . . . <span class="insert">26</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 29</td><td> </td><td class="right"> Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 29</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left">1. Introduction</td><td> </td><td class="right">1. Introduction</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left">1.1. Overview</td><td> </td><td class="right">1.1. Overview</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> A Uniform Resource Identifier (URI) [RFC3986] is often used to</td><td> </td><td class="right"> A Uniform Resource Identifier (URI) [RFC3986] is often used to</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> identify a specific resource within a common space of similar</td><td> </td><td class="right"> identify a specific resource within a common space of similar</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> resources. For example, personal web spaces are often delegated</td><td> </td><td class="right"> resources. For example, personal web spaces are often delegated</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> using a common pattern, such as</td><td> </td><td class="right"> using a common pattern, such as</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno"></td></tr>
<tr bgcolor="gray" ><td></td><th><a name="part-l4" /><small>skipping to change at</small><em> page 5, line 12</em></th><th> </th><th><a name="part-r4" /><small>skipping to change at</small><em> page 4, line 12</em></th><td></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> expressions and substituting each one with its corresponding</td><td> </td><td class="right"> expressions and substituting each one with its corresponding</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> expansion.</td><td> </td><td class="right"> expansion.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> A URI Template provides both a structural description of a URI space</td><td> </td><td class="right"> A URI Template provides both a structural description of a URI space</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> and, when variable values are provided, machine-readable instructions</td><td> </td><td class="right"> and, when variable values are provided, machine-readable instructions</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> on how to construct a URI corresponding to those values. A URI</td><td> </td><td class="right"> on how to construct a URI corresponding to those values. A URI</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Template is transformed into a URI-reference by replacing each</td><td> </td><td class="right"> Template is transformed into a URI-reference by replacing each</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> delimited expression with its value as defined by the expression type</td><td> </td><td class="right"> delimited expression with its value as defined by the expression type</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> and the values of variables named within the expression. The</td><td> </td><td class="right"> and the values of variables named within the expression. The</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> expression types range from simple string expansion to multiple</td><td> </td><td class="right"> expression types range from simple string expansion to multiple</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0012" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> <span class="delete">key=value</span> lists. The expansions are based on the URI generic syntax,</td><td> </td><td class="rblock"> <span class="insert">name=value</span> lists. The expansions are based on the URI generic</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> allowing an implementation to process any URI Template without</td><td> </td><td class="rblock"> syntax, allowing an implementation to process any URI Template</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> knowing the scheme-specific requirements of every possible resulting</td><td> </td><td class="rblock"> without knowing the scheme-specific requirements of every possible</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> URI.</td><td> </td><td class="rblock"> resulting URI.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> For example, the following URI Template includes a form-style</td><td> </td><td class="right"> For example, the following URI Template includes a form-style</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> parameter expression, as indicated by the "?" operator appearing</td><td> </td><td class="right"> parameter expression, as indicated by the "?" operator appearing</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> before the variable names.</td><td> </td><td class="right"> before the variable names.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> http://www.example.com/foo{?query,number}</td><td> </td><td class="right"> http://www.example.com/foo{?query,number}</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> The expansion process for expressions beginning with the question-</td><td> </td><td class="right"> The expansion process for expressions beginning with the question-</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> mark ("?") operator follows the same pattern as form-style interfaces</td><td> </td><td class="right"> mark ("?") operator follows the same pattern as form-style interfaces</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> on the World Wide Web:</td><td> </td><td class="right"> on the World Wide Web:</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno"></td></tr>
<tr bgcolor="gray" ><td></td><th><a name="part-l5" /><small>skipping to change at</small><em> page 6, line 32</em></th><th> </th><th><a name="part-r5" /><small>skipping to change at</small><em> page 5, line 32</em></th><td></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Since most template processors implemented prior to this</td><td> </td><td class="right"> Since most template processors implemented prior to this</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> specification have only implemented the default expression type, we</td><td> </td><td class="right"> specification have only implemented the default expression type, we</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> refer to these as Level 1 templates.</td><td> </td><td class="right"> refer to these as Level 1 templates.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> .-----------------------------------------------------------------.</td><td> </td><td class="right"> .-----------------------------------------------------------------.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | Level 1 examples, with variables having values of |</td><td> </td><td class="right"> | Level 1 examples, with variables having values of |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | |</td><td> </td><td class="right"> | |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | var := "value" |</td><td> </td><td class="right"> | var := "value" |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | hello := "Hello World!" |</td><td> </td><td class="right"> | hello := "Hello World!" |</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0013" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> <span class="delete">| empty := "" |</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> | undef := null |</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | |</td><td> </td><td class="right"> | |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> |-----------------------------------------------------------------|</td><td> </td><td class="right"> |-----------------------------------------------------------------|</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | Op Expression Expansion |</td><td> </td><td class="right"> | Op Expression Expansion |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> |-----------------------------------------------------------------|</td><td> </td><td class="right"> |-----------------------------------------------------------------|</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | Simple string expansion (Sec 3.2.2) |</td><td> </td><td class="right"> | | Simple string expansion (Sec 3.2.2) |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | |</td><td> </td><td class="right"> | | |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | {var} value |</td><td> </td><td class="right"> | | {var} value |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | {hello} Hello%20World%21 |</td><td> </td><td class="right"> | | {hello} Hello%20World%21 |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> `-----------------------------------------------------------------'</td><td> </td><td class="right"> `-----------------------------------------------------------------'</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno"></td></tr>
<tr bgcolor="gray" ><td></td><th><a name="part-l6" /><small>skipping to change at</small><em> page 7, line 31</em></th><th> </th><th><a name="part-r6" /><small>skipping to change at</small><em> page 6, line 31</em></th><td></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> |-----+-----------------------------------------------------------|</td><td> </td><td class="right"> |-----+-----------------------------------------------------------|</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | # | Fragment expansion, crosshatch-prefixed (Sec 3.2.4) |</td><td> </td><td class="right"> | # | Fragment expansion, crosshatch-prefixed (Sec 3.2.4) |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | |</td><td> </td><td class="right"> | | |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | X{#var} X#value |</td><td> </td><td class="right"> | | X{#var} X#value |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | X{#hello} X#Hello%20World! |</td><td> </td><td class="right"> | | X{#hello} X#Hello%20World! |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> `-----------------------------------------------------------------'</td><td> </td><td class="right"> `-----------------------------------------------------------------'</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Level 3 templates add more complex operators for lists of comma-</td><td> </td><td class="right"> Level 3 templates add more complex operators for lists of comma-</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> separated values, dot-prefixed labels, slash-prefixed path segments,</td><td> </td><td class="right"> separated values, dot-prefixed labels, slash-prefixed path segments,</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> semicolon-prefixed path parameters, and the forms-style construction</td><td> </td><td class="right"> semicolon-prefixed path parameters, and the forms-style construction</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0014" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> of a query syntax consisting of <span class="delete">key=value</span> pairs that are separated by</td><td> </td><td class="rblock"> of a query syntax consisting of <span class="insert">name=value</span> pairs that are separated</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> an ampersand character.</td><td> </td><td class="rblock"> by an ampersand character.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> .-----------------------------------------------------------------.</td><td> </td><td class="right"> .-----------------------------------------------------------------.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | Level 3 examples, with variables having values of |</td><td> </td><td class="right"> | Level 3 examples, with variables having values of |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | |</td><td> </td><td class="right"> | |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | var := "value" |</td><td> </td><td class="right"> | var := "value" |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | hello := "Hello World!" |</td><td> </td><td class="right"> | hello := "Hello World!" |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | empty := "" |</td><td> </td><td class="right"> | empty := "" |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | path := "/foo/bar" |</td><td> </td><td class="right"> | path := "/foo/bar" |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | x := "1024" |</td><td> </td><td class="right"> | x := "1024" |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | y := "768" |</td><td> </td><td class="right"> | y := "768" |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno"></td></tr>
<tr bgcolor="gray" ><td></td><th><a name="part-l7" /><small>skipping to change at</small><em> page 9, line 16</em></th><th> </th><th><a name="part-r7" /><small>skipping to change at</small><em> page 8, line 16</em></th><td></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> separate variable.</td><td> </td><td class="right"> separate variable.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> .-----------------------------------------------------------------.</td><td> </td><td class="right"> .-----------------------------------------------------------------.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | Level 4 examples, with variables having values of |</td><td> </td><td class="right"> | Level 4 examples, with variables having values of |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | |</td><td> </td><td class="right"> | |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | var := "value" |</td><td> </td><td class="right"> | var := "value" |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | hello := "Hello World!" |</td><td> </td><td class="right"> | hello := "Hello World!" |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | path := "/foo/bar" |</td><td> </td><td class="right"> | path := "/foo/bar" |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | list := [ "red", "green", "blue" ] |</td><td> </td><td class="right"> | list := [ "red", "green", "blue" ] |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | keys := [("semi",";"),("dot","."),("comma",",")] |</td><td> </td><td class="right"> | keys := [("semi",";"),("dot","."),("comma",",")] |</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0015" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> | empty_keys := [] |</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | |</td><td> </td><td class="right"> | |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | Op Expression Expansion |</td><td> </td><td class="right"> | Op Expression Expansion |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> |-----------------------------------------------------------------|</td><td> </td><td class="right"> |-----------------------------------------------------------------|</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | String expansion with value modifiers (Sec 3.2.2) |</td><td> </td><td class="right"> | | String expansion with value modifiers (Sec 3.2.2) |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | |</td><td> </td><td class="right"> | | |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | {var:3} val |</td><td> </td><td class="right"> | | {var:3} val |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | {var:30} value |</td><td> </td><td class="right"> | | {var:30} value |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | {list} red,green,blue |</td><td> </td><td class="right"> | | {list} red,green,blue |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | {list*} red,green,blue |</td><td> </td><td class="right"> | | {list*} red,green,blue |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | {keys} semi,%3B,dot,.,comma,%2C |</td><td> </td><td class="right"> | | {keys} semi,%3B,dot,.,comma,%2C |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno"></td></tr>
<tr bgcolor="gray" ><td></td><th><a name="part-l8" /><small>skipping to change at</small><em> page 10, line 32</em></th><th> </th><th><a name="part-r8" /><small>skipping to change at</small><em> page 9, line 31</em></th><td></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | {;list} ;list=red,green,blue |</td><td> </td><td class="right"> | | {;list} ;list=red,green,blue |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | {;list*} ;red;green;blue |</td><td> </td><td class="right"> | | {;list*} ;red;green;blue |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | {;keys} ;keys=semi,%3B,dot,.,comma,%2C |</td><td> </td><td class="right"> | | {;keys} ;keys=semi,%3B,dot,.,comma,%2C |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | {;keys*} ;semi=%3B;dot=.;comma=%2C |</td><td> </td><td class="right"> | | {;keys*} ;semi=%3B;dot=.;comma=%2C |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | |</td><td> </td><td class="right"> | | |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> |-----+-----------------------------------------------------------|</td><td> </td><td class="right"> |-----+-----------------------------------------------------------|</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | ? | Form-style query, ampersand-separated (Sec 3.2.8) |</td><td> </td><td class="right"> | ? | Form-style query, ampersand-separated (Sec 3.2.8) |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | |</td><td> </td><td class="right"> | | |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | {?var:3} ?var=val |</td><td> </td><td class="right"> | | {?var:3} ?var=val |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | {?list} ?list=red,green,blue |</td><td> </td><td class="right"> | | {?list} ?list=red,green,blue |</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0016" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> | | {?list*} ?<span class="delete">list=red&list=green&list=blue</span> |</td><td> </td><td class="rblock"> | | {?list*} ?<span class="insert">red&green&blue </span> |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | {?keys} ?keys=semi,%3B,dot,.,comma,%2C |</td><td> </td><td class="right"> | | {?keys} ?keys=semi,%3B,dot,.,comma,%2C |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | {?keys*} ?semi=%3B&dot=.&comma=%2C |</td><td> </td><td class="right"> | | {?keys*} ?semi=%3B&dot=.&comma=%2C |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | |</td><td> </td><td class="right"> | | |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> |-----+-----------------------------------------------------------|</td><td> </td><td class="right"> |-----+-----------------------------------------------------------|</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | & | Form-style query continuation (Sec 3.2.9) |</td><td> </td><td class="right"> | & | Form-style query continuation (Sec 3.2.9) |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | |</td><td> </td><td class="right"> | | |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | {&var:3} &var=val |</td><td> </td><td class="right"> | | {&var:3} &var=val |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | {&list} &list=red,green,blue |</td><td> </td><td class="right"> | | {&list} &list=red,green,blue |</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0017" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> | | {&list*} &<span class="delete">list=red&list=green&list=blue</span> |</td><td> </td><td class="rblock"> | | {&list*} &<span class="insert">red&green&blue </span> |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | {&keys} &keys=semi,%3B,dot,.,comma,%2C |</td><td> </td><td class="right"> | | {&keys} &keys=semi,%3B,dot,.,comma,%2C |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | {&keys*} &semi=%3B&dot=.&comma=%2C |</td><td> </td><td class="right"> | | {&keys*} &semi=%3B&dot=.&comma=%2C |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | | |</td><td> </td><td class="right"> | | |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> `-----------------------------------------------------------------'</td><td> </td><td class="right"> `-----------------------------------------------------------------'</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left">1.3. Design Considerations</td><td> </td><td class="right">1.3. Design Considerations</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Mechanisms similar to URI Templates have been defined within several</td><td> </td><td class="right"> Mechanisms similar to URI Templates have been defined within several</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> specifications, including WSDL, WADL and OpenSearch. This</td><td> </td><td class="right"> specifications, including WSDL, WADL and OpenSearch. This</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> specification extends and formally defines the syntax so that URI</td><td> </td><td class="right"> specification extends and formally defines the syntax so that URI</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno"></td></tr>
<tr bgcolor="gray" ><td></td><th><a name="part-l9" /><small>skipping to change at</small><em> page 15, line 14</em></th><th> </th><th><a name="part-r9" /><small>skipping to change at</small><em> page 14, line 14</em></th><td></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> operators defined in Section 3 of this specification include:</td><td> </td><td class="right"> operators defined in Section 3 of this specification include:</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> + Reserved character strings;</td><td> </td><td class="right"> + Reserved character strings;</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> # Fragment identifiers prefixed by "#";</td><td> </td><td class="right"> # Fragment identifiers prefixed by "#";</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> . Name labels or extensions prefixed by ".";</td><td> </td><td class="right"> . Name labels or extensions prefixed by ".";</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> / Path segments prefixed by "/";</td><td> </td><td class="right"> / Path segments prefixed by "/";</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0018" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> ; Path parameter <span class="delete">key or key</span>=value pairs prefixed by ";";</td><td> </td><td class="rblock"> ; Path parameter <span class="insert">name or name</span>=value pairs prefixed by ";";</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> ? Query component beginning with "?" and consisting of</td><td> </td><td class="right"> ? Query component beginning with "?" and consisting of</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0019" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> <span class="delete">key</span>=value pairs separated by "&"; and,</td><td> </td><td class="rblock"> <span class="insert">name</span>=value pairs separated by "&"; and,</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0020" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> & Continuation of query-style &<span class="delete">key</span>=value pairs within</td><td> </td><td class="rblock"> & Continuation of query-style &<span class="insert">name</span>=value pairs within</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> a literal query component.</td><td> </td><td class="right"> a literal query component.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> The operator characters equals ("="), comma (","), exclamation ("!"),</td><td> </td><td class="right"> The operator characters equals ("="), comma (","), exclamation ("!"),</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> at-sign ("@"), and pipe ("|") are reserved for future extensions.</td><td> </td><td class="right"> at-sign ("@"), and pipe ("|") are reserved for future extensions.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> The expression syntax specifically excludes use of the dollar ("$")</td><td> </td><td class="right"> The expression syntax specifically excludes use of the dollar ("$")</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> and parentheses ["(" and ")"] characters so that they remain</td><td> </td><td class="right"> and parentheses ["(" and ")"] characters so that they remain</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> available for local language extensions outside the scope of this</td><td> </td><td class="right"> available for local language extensions outside the scope of this</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> specification.</td><td> </td><td class="right"> specification.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno"></td></tr>
<tr bgcolor="gray" ><td></td><th><a name="part-l10" /><small>skipping to change at</small><em> page 17, line 22</em></th><th> </th><th><a name="part-r10" /><small>skipping to change at</small><em> page 16, line 22</em></th><td></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Example Template Expansion</td><td> </td><td class="right"> Example Template Expansion</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {var} value</td><td> </td><td class="right"> {var} value</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {var:20} value</td><td> </td><td class="right"> {var:20} value</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {var:3} val</td><td> </td><td class="right"> {var:3} val</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {semi} %3B</td><td> </td><td class="right"> {semi} %3B</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {semi:2} %3B</td><td> </td><td class="right"> {semi:2} %3B</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left">2.4.2. Composite Values</td><td> </td><td class="right">2.4.2. Composite Values</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0021" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> An explode <span class="delete">modifier</span> ("*") indicates that the variable <span class="delete">represents</span> a</td><td> </td><td class="rblock"> An explode ("*") <span class="insert">modifier</span> indicates that the variable <span class="insert">is to be</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> composite value <span class="delete">that may be substituted in full</span> or <span class="delete">partial forms,</span></td><td> </td><td class="rblock"><span class="insert"> treated as</span> a composite value <span class="insert">consisting of either a list of names</span> or</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> depending on the variable's type and value set. Since URI Templates</span></td><td> </td><td class="rblock"> an <span class="insert">associative array</span> of <span class="insert">(name, value) pairs. Hence, the expansion</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> do not contain</span> an <span class="delete">indication</span> of <span class="delete">type or schema, this</span> is <span class="delete">assumed</span> to <span class="delete">be</span></td><td> </td><td class="rblock"><span class="insert"> process</span> is <span class="insert">applied</span> to <span class="insert">each member of the composite as if it were</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> determined by context. An example context is</span> a <span class="delete">mark-up element or</span></td><td> </td><td class="rblock"><span class="insert"> listed as</span> a <span class="insert">separate variable. This kind of variable specification</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> header field that contains one attribute that</span> is <span class="delete">a template and one</span></td><td> </td><td class="rblock"> is <span class="insert">significantly less self-documenting than non-exploded variables,</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> or more other attributes that define</span> the <span class="delete">schema applicable to</span></td><td> </td><td class="rblock"><span class="insert"> since there is less correspondence between</span> the <span class="insert">variable name and how</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> variables found in</span> the <span class="delete">template. Likewise, a typed programming</span></td><td> </td><td class="rblock"> the <span class="insert">URI reference appears after expansion.</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> language might differentiate variables as strings, lists, associative</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> arrays, or structures.</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> explode = "*"</td><td> </td><td class="right"> explode = "*"</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0022" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"> <span class="insert">Since URI Templates do not contain an indication of type or schema,</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> the type for an exploded variable is assumed to be determined by</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> context. For example, the processor might be supplied values in a</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> form that differentiates values as strings, lists, or associative</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> arrays. Likewise, the context in which the template is used (script,</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> mark-up language, IDL, etc.) might define rules for associating</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> variable names with types, structures, or schema.</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"> </td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Explode modifiers improve brevity in the URI Template syntax. For</td><td> </td><td class="right"> Explode modifiers improve brevity in the URI Template syntax. For</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> example, a resource that provides a geographic map for a given street</td><td> </td><td class="right"> example, a resource that provides a geographic map for a given street</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> address might accept a hundred permutations on fields for address</td><td> </td><td class="right"> address might accept a hundred permutations on fields for address</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> input, including partial addresses (e.g., just the city or postal</td><td> </td><td class="right"> input, including partial addresses (e.g., just the city or postal</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> code). Such a resource could be described as a template with each</td><td> </td><td class="right"> code). Such a resource could be described as a template with each</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> and every address component listed in order, or with a far more</td><td> </td><td class="right"> and every address component listed in order, or with a far more</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> simple template that makes use of an explode modifier, as in</td><td> </td><td class="right"> simple template that makes use of an explode modifier, as in</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> /mapper{?address*}</td><td> </td><td class="right"> /mapper{?address*}</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno"></td></tr>
<tr bgcolor="gray" ><td></td><th><a name="part-l11" /><small>skipping to change at</small><em> page 18, line 18</em></th><th> </th><th><a name="part-r11" /><small>skipping to change at</small><em> page 17, line 24</em></th><td></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> and "." separators used to indicate name hierarchy in substructures.</td><td> </td><td class="right"> and "." separators used to indicate name hierarchy in substructures.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left">3. Expansion</td><td> </td><td class="right">3. Expansion</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> The process of URI Template expansion is to scan the template string</td><td> </td><td class="right"> The process of URI Template expansion is to scan the template string</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> from beginning to end, copying literal characters and replacing each</td><td> </td><td class="right"> from beginning to end, copying literal characters and replacing each</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> expression with the result of applying the expression's operator to</td><td> </td><td class="right"> expression with the result of applying the expression's operator to</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> the value of each variable named in the expression. Each variable's</td><td> </td><td class="right"> the value of each variable named in the expression. Each variable's</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> value MUST be formed prior to template expansion.</td><td> </td><td class="right"> value MUST be formed prior to template expansion.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0023" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"> <span class="insert">The requirements on expansion for each aspect of the URI Template</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> grammar are defined in this section. A non-normative algorithm for</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> the expansion process as a whole is provided in Appendix A.</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"> </td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> If a template processor encounters an error outside of an expression,</td><td> </td><td class="right"> If a template processor encounters an error outside of an expression,</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> such as a character sequence that does not match the <URI-Template></td><td> </td><td class="right"> such as a character sequence that does not match the <URI-Template></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> grammar, then processing of the template SHOULD cease, the URI-</td><td> </td><td class="right"> grammar, then processing of the template SHOULD cease, the URI-</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0024" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> reference result SHOULD <span class="delete">be undefined,</span> and the location and type of</td><td> </td><td class="rblock"> reference result SHOULD <span class="insert">contain the expanded part of the template</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> followed by the remainder unexpanded,</span> and the location and type of</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> error SHOULD be indicated to the invoking application. If an error</td><td> </td><td class="right"> error SHOULD be indicated to the invoking application. If an error</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> is encountered inside an expression, such as an operator or value</td><td> </td><td class="right"> is encountered inside an expression, such as an operator or value</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> modifier that it does not recognize or cannot support, then the</td><td> </td><td class="right"> modifier that it does not recognize or cannot support, then the</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> expression SHOULD be copied to the result unexpanded, processing of</td><td> </td><td class="right"> expression SHOULD be copied to the result unexpanded, processing of</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> the remainder of the template SHOULD continue, and the location and</td><td> </td><td class="right"> the remainder of the template SHOULD continue, and the location and</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0025" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> type of error SHOULD be indicated to the invoking application. <span class="delete">In</span></td><td> </td><td class="rblock"> type of error SHOULD be indicated to the invoking application. <span class="insert">If an</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> this latter case,</span> the result returned <span class="delete">will</span> not be a valid URI</td><td> </td><td class="rblock"><span class="insert"> error occurs,</span> the result returned <span class="insert">might</span> not be a valid URI reference;</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> reference; it will be an incompletely expanded template string that</td><td> </td><td class="rblock"> it will be an incompletely expanded template string that is only</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> is only intended for diagnostic use.</td><td> </td><td class="rblock"> intended for diagnostic use.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left">3.1. Literal Expansion</td><td> </td><td class="right">3.1. Literal Expansion</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> If the literal character is allowed anywhere in the URI syntax</td><td> </td><td class="right"> If the literal character is allowed anywhere in the URI syntax</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> (unreserved / reserved / pct-encoded ), then it is copied directly to</td><td> </td><td class="right"> (unreserved / reserved / pct-encoded ), then it is copied directly to</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> the result string. Otherwise, the pct-encoded equivalent of the</td><td> </td><td class="right"> the result string. Otherwise, the pct-encoded equivalent of the</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> literal character is copied to the result string by encoding the</td><td> </td><td class="right"> literal character is copied to the result string by encoding the</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> character in UTF-8 (a sequence of octets) and then encoding each</td><td> </td><td class="right"> character in UTF-8 (a sequence of octets) and then encoding each</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> octet as a pct-encoded triplet.</td><td> </td><td class="right"> octet as a pct-encoded triplet.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno"></td></tr>
<tr bgcolor="gray" ><td></td><th><a name="part-l12" /><small>skipping to change at</small><em> page 19, line 18</em></th><th> </th><th><a name="part-r12" /><small>skipping to change at</small><em> page 18, line 28</em></th><td></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> expansion decisions and skip to the next character for the variable-</td><td> </td><td class="right"> expansion decisions and skip to the next character for the variable-</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> list. If the first character is not an operator, then the expression</td><td> </td><td class="right"> list. If the first character is not an operator, then the expression</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> type is simple string expansion and the first character is the</td><td> </td><td class="right"> type is simple string expansion and the first character is the</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> beginning of the variable-list.</td><td> </td><td class="right"> beginning of the variable-list.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> The examples in the subsections below use the following definitions</td><td> </td><td class="right"> The examples in the subsections below use the following definitions</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> for variable values:</td><td> </td><td class="right"> for variable values:</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> dom := "example.com"</td><td> </td><td class="right"> dom := "example.com"</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> dub := "me/too"</td><td> </td><td class="right"> dub := "me/too"</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0026" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> foo := "That's right!"</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> hello := "Hello World!"</td><td> </td><td class="right"> hello := "Hello World!"</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> half := "50%"</td><td> </td><td class="right"> half := "50%"</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> var := "value"</td><td> </td><td class="right"> var := "value"</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> who := "fred"</td><td> </td><td class="right"> who := "fred"</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> base := "http://example.com/home/"</td><td> </td><td class="right"> base := "http://example.com/home/"</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> path := "/foo/bar"</td><td> </td><td class="right"> path := "/foo/bar"</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> list := [ "red", "green", "blue" ]</td><td> </td><td class="right"> list := [ "red", "green", "blue" ]</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> keys := [("semi",";"),("dot","."),("comma",",")]</td><td> </td><td class="right"> keys := [("semi",";"),("dot","."),("comma",",")]</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> v := "6"</td><td> </td><td class="right"> v := "6"</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> x := "1024"</td><td> </td><td class="right"> x := "1024"</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno"></td></tr>
<tr bgcolor="gray" ><td></td><th><a name="part-l13" /><small>skipping to change at</small><em> page 20, line 28</em></th><th> </th><th><a name="part-r13" /><small>skipping to change at</small><em> page 19, line 37</em></th><td></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> For a variable that is a simple string value, expansion consists of</td><td> </td><td class="right"> For a variable that is a simple string value, expansion consists of</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> appending the encoded value to the result string. The explode</td><td> </td><td class="right"> appending the encoded value to the result string. The explode</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> modifier has no effect. The prefix modifier limits the expansion to</td><td> </td><td class="right"> modifier has no effect. The prefix modifier limits the expansion to</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> the first max-length characters of the decoded value. If the value</td><td> </td><td class="right"> the first max-length characters of the decoded value. If the value</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> contains multibyte UTF-8, care must be taken to avoid splitting the</td><td> </td><td class="right"> contains multibyte UTF-8, care must be taken to avoid splitting the</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> value in mid-character: count each Unicode codepoint as one</td><td> </td><td class="right"> value in mid-character: count each Unicode codepoint as one</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> character.</td><td> </td><td class="right"> character.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> For a variable that is a list of values, expansion consists of</td><td> </td><td class="right"> For a variable that is a list of values, expansion consists of</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> concatenating the defined member string values, encoded as above,</td><td> </td><td class="right"> concatenating the defined member string values, encoded as above,</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0027" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> with a separator string inserted between those values. <span class="delete">A prefix</span></td><td> </td><td class="rblock"> with a separator string inserted between those values. If no explode</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> modifier has no effect.</span> If no explode modifier is given, the</td><td> </td><td class="rblock"> modifier is given, the separator string is a comma (","). If an</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> separator string is a comma (","). If an explode modifier is given,</td><td> </td><td class="rblock"> explode modifier is given, the separator string is defined per</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> the separator string is defined per operator by the following table,</td><td> </td><td class="rblock"> operator by the following table, where NUL is the default expression</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> where NUL is the default expression type:</td><td> </td><td class="rblock"> type:</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> .-----------------------------------------------------------------.</td><td> </td><td class="right"> .-----------------------------------------------------------------.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | operator: NUL + . / ; ? & # |</td><td> </td><td class="right"> | operator: NUL + . / ; ? & # |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | separator: "," "," "." "/" ";" "&" "&" "," |</td><td> </td><td class="right"> | separator: "," "," "." "/" ";" "&" "&" "," |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> `-----------------------------------------------------------------'</td><td> </td><td class="right"> `-----------------------------------------------------------------'</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> For a variable that is an associative array, expansion consists of a</td><td> </td><td class="right"> For a variable that is an associative array, expansion consists of a</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> list of either "name,value" (without explode modifier) or</td><td> </td><td class="right"> list of either "name,value" (without explode modifier) or</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> "name=value" (with explode modifier) pairs, excluding any pairs for</td><td> </td><td class="right"> "name=value" (with explode modifier) pairs, excluding any pairs for</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> which the corresponding value is undefined, with a separator string</td><td> </td><td class="right"> which the corresponding value is undefined, with a separator string</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno"></td></tr>
<tr bgcolor="gray" ><td></td><th><a name="part-l14" /><small>skipping to change at</small><em> page 22, line 7</em></th><th> </th><th><a name="part-r14" /><small>skipping to change at</small><em> page 21, line 7</em></th><td></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> characters in the reserved set.</td><td> </td><td class="right"> characters in the reserved set.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> For each defined variable in the variable-list, perform variable</td><td> </td><td class="right"> For each defined variable in the variable-list, perform variable</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> expansion, as defined in Section 3.2.1, with the allowed characters</td><td> </td><td class="right"> expansion, as defined in Section 3.2.1, with the allowed characters</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> being those in the set (unreserved / reserved / pct-encoded). If</td><td> </td><td class="right"> being those in the set (unreserved / reserved / pct-encoded). If</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> more than one variable has a defined value, append a comma (",") to</td><td> </td><td class="right"> more than one variable has a defined value, append a comma (",") to</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> the result string as a separator between variable expansions.</td><td> </td><td class="right"> the result string as a separator between variable expansions.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Example Template Expansion</td><td> </td><td class="right"> Example Template Expansion</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0028" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> <span class="delete">{foo} That%27s%20right%21</span></td><td> </td><td class="rblock"> <span class="insert">{+var} value</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> {+foo} That%27s%20right!</span></td><td> </td><td class="rblock"><span class="insert"> {+hello} Hello%20World!</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {+half} 50%25</td><td> </td><td class="right"> {+half} 50%25</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {base}index http%3A%2F%2Fexample.com%2Fhome%2Findex</td><td> </td><td class="right"> {base}index http%3A%2F%2Fexample.com%2Fhome%2Findex</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {+base}index http://example.com/home/index</td><td> </td><td class="right"> {+base}index http://example.com/home/index</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0029" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> <span class="delete">{+var} value</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> {+hello} Hello%20World!</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> O{+empty}X OX</td><td> </td><td class="right"> O{+empty}X OX</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> O{+undef}X OX</td><td> </td><td class="right"> O{+undef}X OX</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {+path}/here /foo/bar/here</td><td> </td><td class="right"> {+path}/here /foo/bar/here</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> here?ref={+path} here?ref=/foo/bar</td><td> </td><td class="right"> here?ref={+path} here?ref=/foo/bar</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> up{+path}{var}/here up/foo/barvalue/here</td><td> </td><td class="right"> up{+path}{var}/here up/foo/barvalue/here</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {+x,hello,y} 1024,Hello%20World!,768</td><td> </td><td class="right"> {+x,hello,y} 1024,Hello%20World!,768</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {+path,x}/here /foo/bar,1024/here</td><td> </td><td class="right"> {+path,x}/here /foo/bar,1024/here</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {+path:6}/here /foo/b/here</td><td> </td><td class="right"> {+path:6}/here /foo/b/here</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno"></td></tr>
<tr bgcolor="gray" ><td></td><th><a name="part-l15" /><small>skipping to change at</small><em> page 22, line 39</em></th><th> </th><th><a name="part-r15" /><small>skipping to change at</small><em> page 21, line 37</em></th><td></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left">3.2.4. Fragment expansion: {#var}</td><td> </td><td class="right">3.2.4. Fragment expansion: {#var}</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Fragment expansion, as indicated by the crosshatch ("#") operator for</td><td> </td><td class="right"> Fragment expansion, as indicated by the crosshatch ("#") operator for</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Level 2 and above templates, is identical to reserved expansion</td><td> </td><td class="right"> Level 2 and above templates, is identical to reserved expansion</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> except that a crosshatch character (fragment delimiter) is appended</td><td> </td><td class="right"> except that a crosshatch character (fragment delimiter) is appended</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> first to the result string if any of the variables are defined.</td><td> </td><td class="right"> first to the result string if any of the variables are defined.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Example Template Expansion</td><td> </td><td class="right"> Example Template Expansion</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0030" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> {#foo} #That%27s%20right!</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {#var} #value</td><td> </td><td class="right"> {#var} #value</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {#hello} #Hello%20World!</td><td> </td><td class="right"> {#hello} #Hello%20World!</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {#half} #50%25</td><td> </td><td class="right"> {#half} #50%25</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> foo{#empty} foo#</td><td> </td><td class="right"> foo{#empty} foo#</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> foo{#undef} foo</td><td> </td><td class="right"> foo{#undef} foo</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {#x,hello,y} #1024,Hello%20World!,768</td><td> </td><td class="right"> {#x,hello,y} #1024,Hello%20World!,768</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {#path,x}/here #/foo/bar,1024/here</td><td> </td><td class="right"> {#path,x}/here #/foo/bar,1024/here</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {#path:6}/here #/foo/b/here</td><td> </td><td class="right"> {#path:6}/here #/foo/b/here</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {#list} #red,green,blue</td><td> </td><td class="right"> {#list} #red,green,blue</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {#list*} #red,green,blue</td><td> </td><td class="right"> {#list*} #red,green,blue</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno"></td></tr>
<tr bgcolor="gray" ><td></td><th><a name="part-l16" /><small>skipping to change at</small><em> page 24, line 26</em></th><th> </th><th><a name="part-r16" /><small>skipping to change at</small><em> page 23, line 26</em></th><td></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {/list} /red,green,blue</td><td> </td><td class="right"> {/list} /red,green,blue</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {/list*} /red/green/blue</td><td> </td><td class="right"> {/list*} /red/green/blue</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {/list*,path:4} /red/green/blue/%2Ffoo</td><td> </td><td class="right"> {/list*,path:4} /red/green/blue/%2Ffoo</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {/keys} /semi,%3B,dot,.,comma,%2C</td><td> </td><td class="right"> {/keys} /semi,%3B,dot,.,comma,%2C</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {/keys*} /semi=%3B/dot=./comma=%2C</td><td> </td><td class="right"> {/keys*} /semi=%3B/dot=./comma=%2C</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left">3.2.7. Path-style parameter expansion: {;var}</td><td> </td><td class="right">3.2.7. Path-style parameter expansion: {;var}</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Path-style parameter expansion, as indicated by the semicolon (";")</td><td> </td><td class="right"> Path-style parameter expansion, as indicated by the semicolon (";")</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> operator in Level 3 and above templates, is useful for describing URI</td><td> </td><td class="right"> operator in Level 3 and above templates, is useful for describing URI</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0031" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> path parameters, such as "path<span class="delete">name;property" or "pathname;key</span>=value".</td><td> </td><td class="rblock"> path parameters, such as "path<span class="insert">;property" or "path;name</span>=value".</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> For each defined variable in the variable-list:</td><td> </td><td class="right"> For each defined variable in the variable-list:</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> o append ";" to the result string;</td><td> </td><td class="right"> o append ";" to the result string;</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0032" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> o if no explode modifier is <span class="delete">present or the variable does not have a</span></td><td> </td><td class="rblock"> o if <span class="insert">the variable has a simple string value or</span> no explode modifier</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> composite value,</span> append the variable name (encoded as if it were a</td><td> </td><td class="rblock"> is <span class="insert">given, then:</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> literal string) to the result <span class="delete">string and,</span> if the variable's value</td><td> </td><td class="rblock"><span class="insert"> *</span> append the variable name (encoded as if it were a literal</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> is not empty, append "=" to the result string; <span class="delete">and,</span></td><td> </td><td class="rblock"> string) to the result <span class="insert">string;</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> *</span> if the variable's value is not empty, append "=" to the result</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"> string;</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> o perform variable expansion, as defined in Section 3.2.1, with the</td><td> </td><td class="right"> o perform variable expansion, as defined in Section 3.2.1, with the</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> allowed characters being those in the unreserved set.</td><td> </td><td class="right"> allowed characters being those in the unreserved set.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Example Template Expansion</td><td> </td><td class="right"> Example Template Expansion</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {;who} ;who=fred</td><td> </td><td class="right"> {;who} ;who=fred</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {;half} ;half=50%25</td><td> </td><td class="right"> {;half} ;half=50%25</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {;empty} ;empty</td><td> </td><td class="right"> {;empty} ;empty</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {;v,empty,who} ;v=6;empty;who=fred</td><td> </td><td class="right"> {;v,empty,who} ;v=6;empty;who=fred</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {;v,bar,who} ;v=6;who=fred</td><td> </td><td class="right"> {;v,bar,who} ;v=6;who=fred</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno"></td></tr>
<tr bgcolor="gray" ><td></td><th><a name="part-l17" /><small>skipping to change at</small><em> page 25, line 14</em></th><th> </th><th><a name="part-r17" /><small>skipping to change at</small><em> page 24, line 15</em></th><td></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left">3.2.8. Form-style query expansion: {?var}</td><td> </td><td class="right">3.2.8. Form-style query expansion: {?var}</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Form-style query expansion, as indicated by the question-mark ("?")</td><td> </td><td class="right"> Form-style query expansion, as indicated by the question-mark ("?")</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> operator in Level 3 and above templates, is useful for describing an</td><td> </td><td class="right"> operator in Level 3 and above templates, is useful for describing an</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> entire optional query component.</td><td> </td><td class="right"> entire optional query component.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> For each defined variable in the variable-list:</td><td> </td><td class="right"> For each defined variable in the variable-list:</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> o append "?" to the result string if this is the first defined value</td><td> </td><td class="right"> o append "?" to the result string if this is the first defined value</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> or append "&" thereafter;</td><td> </td><td class="right"> or append "&" thereafter;</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0033" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> o if no explode modifier is <span class="delete">present or the variable does not have a</span></td><td> </td><td class="rblock"> o if <span class="insert">the variable has a simple string value or</span> no explode modifier</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> composite value,</span> append the variable name (encoded as if it were a</td><td> </td><td class="rblock"> is <span class="insert">given,</span> append the variable name (encoded as if it were a</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> literal string) and an equals character ("=") to the result</td><td> </td><td class="right"> literal string) and an equals character ("=") to the result</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> string; and,</td><td> </td><td class="right"> string; and,</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> o perform variable expansion, as defined in Section 3.2.1, with the</td><td> </td><td class="right"> o perform variable expansion, as defined in Section 3.2.1, with the</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> allowed characters being those in the unreserved set.</td><td> </td><td class="right"> allowed characters being those in the unreserved set.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Example Template Expansion</td><td> </td><td class="right"> Example Template Expansion</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {?who} ?who=fred</td><td> </td><td class="right"> {?who} ?who=fred</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {?half} ?half=50%25</td><td> </td><td class="right"> {?half} ?half=50%25</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {?x,y} ?x=1024&y=768</td><td> </td><td class="right"> {?x,y} ?x=1024&y=768</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {?x,y,empty} ?x=1024&y=768&empty=</td><td> </td><td class="right"> {?x,y,empty} ?x=1024&y=768&empty=</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {?x,y,undef} ?x=1024&y=768</td><td> </td><td class="right"> {?x,y,undef} ?x=1024&y=768</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {?var:3} ?var=val</td><td> </td><td class="right"> {?var:3} ?var=val</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {?list} ?list=red,green,blue</td><td> </td><td class="right"> {?list} ?list=red,green,blue</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0034" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> {?list*} ?<span class="delete">list=red&list=green&list=</span>blue</td><td> </td><td class="rblock"> {?list*} ?<span class="insert">red&green&</span>blue</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {?keys} ?keys=semi,%3B,dot,.,comma,%2C</td><td> </td><td class="right"> {?keys} ?keys=semi,%3B,dot,.,comma,%2C</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {?keys*} ?semi=%3B&dot=.&comma=%2C</td><td> </td><td class="right"> {?keys*} ?semi=%3B&dot=.&comma=%2C</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left">3.2.9. Form-style query continuation: {&var}</td><td> </td><td class="right">3.2.9. Form-style query continuation: {&var}</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Form-style query continuation, as indicated by the ampersand ("&")</td><td> </td><td class="right"> Form-style query continuation, as indicated by the ampersand ("&")</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> operator in Level 3 and above templates, is useful for describing</td><td> </td><td class="right"> operator in Level 3 and above templates, is useful for describing</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> optional &name=value pairs in a template that already contains a</td><td> </td><td class="right"> optional &name=value pairs in a template that already contains a</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> literal query component with fixed parameters.</td><td> </td><td class="right"> literal query component with fixed parameters.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> For each defined variable in the variable-list:</td><td> </td><td class="right"> For each defined variable in the variable-list:</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> o append "&" to the result string;</td><td> </td><td class="right"> o append "&" to the result string;</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0035" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> o if no explode modifier is <span class="delete">present or the variable does not have a</span></td><td> </td><td class="rblock"> o if <span class="insert">the variable has a simple string value or</span> no explode modifier</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> composite value,</span> append the variable name (encoded as if it were a</td><td> </td><td class="rblock"> is <span class="insert">given,</span> append the variable name (encoded as if it were a</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> literal string) and an equals character ("=") to the result</td><td> </td><td class="right"> literal string) and an equals character ("=") to the result</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> string; and,</td><td> </td><td class="right"> string; and,</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> o perform variable expansion, as defined in Section 3.2.1, with the</td><td> </td><td class="right"> o perform variable expansion, as defined in Section 3.2.1, with the</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> allowed characters being those in the unreserved set.</td><td> </td><td class="right"> allowed characters being those in the unreserved set.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Example Template Expansion</td><td> </td><td class="right"> Example Template Expansion</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {&who} &who=fred</td><td> </td><td class="right"> {&who} &who=fred</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {&half} &half=50%25</td><td> </td><td class="right"> {&half} &half=50%25</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> ?fixed=yes{&x} ?fixed=yes&x=1024</td><td> </td><td class="right"> ?fixed=yes{&x} ?fixed=yes&x=1024</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {&x,y,empty} &x=1024&y=768&empty=</td><td> </td><td class="right"> {&x,y,empty} &x=1024&y=768&empty=</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {&x,y,undef} &x=1024&y=768</td><td> </td><td class="right"> {&x,y,undef} &x=1024&y=768</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {&var:3} &var=val</td><td> </td><td class="right"> {&var:3} &var=val</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {&list} &list=red,green,blue</td><td> </td><td class="right"> {&list} &list=red,green,blue</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0036" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> {&list*} &<span class="delete">list=red&list=green&list=</span>blue</td><td> </td><td class="rblock"> {&list*} &<span class="insert">red&green&</span>blue</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {&keys} &keys=semi,%3B,dot,.,comma,%2C</td><td> </td><td class="right"> {&keys} &keys=semi,%3B,dot,.,comma,%2C</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> {&keys*} &semi=%3B&dot=.&comma=%2C</td><td> </td><td class="right"> {&keys*} &semi=%3B&dot=.&comma=%2C</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left">4. Security Considerations</td><td> </td><td class="right">4. Security Considerations</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> A URI Template does not contain active or executable content. Other</td><td> </td><td class="right"> A URI Template does not contain active or executable content. Other</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> security considerations are the same as those for URIs, as described</td><td> </td><td class="right"> security considerations are the same as those for URIs, as described</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> in section 7 of [RFC3986].</td><td> </td><td class="right"> in section 7 of [RFC3986].</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left">5. IANA Considerations</td><td> </td><td class="right">5. IANA Considerations</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> No IANA actions are required by this document.</td><td> </td><td class="right"> No IANA actions are required by this document.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left">6. Acknowledgments</td><td> </td><td class="right">6. Acknowledgments</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> The following people made significant contributions to this</td><td> </td><td class="right"> The following people made significant contributions to this</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> specification: Mike Burrows, Michaeljohn Clement, DeWitt Clinton,</td><td> </td><td class="right"> specification: Mike Burrows, Michaeljohn Clement, DeWitt Clinton,</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0037" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> John Cowan, James H. Manger, Marc Portier, and James Snell.</td><td> </td><td class="rblock"> John Cowan, <span class="insert">Robbie Gates,</span> James H. Manger, Marc Portier, and James</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"> Snell.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left">7. Normative References</td><td> </td><td class="right">7. Normative References</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> [ASCII] American National Standards Institute, "Coded Character</td><td> </td><td class="right"> [ASCII] American National Standards Institute, "Coded Character</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Set - 7-bit American Standard Code for Information</td><td> </td><td class="right"> Set - 7-bit American Standard Code for Information</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Interchange", ANSI X3.4, 1986.</td><td> </td><td class="right"> Interchange", ANSI X3.4, 1986.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate</td><td> </td><td class="right"> [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Requirement Levels", BCP 14, RFC 2119, March 1997.</td><td> </td><td class="right"> Requirement Levels", BCP 14, RFC 2119, March 1997.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno"></td></tr>
<tr bgcolor="gray" ><td></td><th><a name="part-l18" /><small>skipping to change at</small><em> page 28, line 17</em></th><th> </th><th><a name="part-r18" /><small>skipping to change at</small><em> page 27, line 21</em></th><td></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> o If a known and implemented operator is found, store the operator</td><td> </td><td class="right"> o If a known and implemented operator is found, store the operator</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> and skip to the next character to begin the varspec-list.</td><td> </td><td class="right"> and skip to the next character to begin the varspec-list.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> o Otherwise, store the operator as NUL (simple string expansion).</td><td> </td><td class="right"> o Otherwise, store the operator as NUL (simple string expansion).</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Use the following value table to determine the processing behavior by</td><td> </td><td class="right"> Use the following value table to determine the processing behavior by</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> expression type operator. The entry for "first" is the string to</td><td> </td><td class="right"> expression type operator. The entry for "first" is the string to</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> append to the result first if any of the expression's variables are</td><td> </td><td class="right"> append to the result first if any of the expression's variables are</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> defined. The entry for "sep" is the separator to append to the</td><td> </td><td class="right"> defined. The entry for "sep" is the separator to append to the</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> result before any second (or subsequent) defined variable expansion.</td><td> </td><td class="right"> result before any second (or subsequent) defined variable expansion.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> The entry for "named" is a boolean for whether or not the expansion</td><td> </td><td class="right"> The entry for "named" is a boolean for whether or not the expansion</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0038" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> includes the variable name when no explode modifier is given. The</td><td> </td><td class="rblock"> includes the variable <span class="insert">or key</span> name when no explode modifier is given.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> entry for "ifemp" is a string to append to the name <span class="delete">when the</span></td><td> </td><td class="rblock"> The entry for "ifemp" is a string to append to the name <span class="insert">if its</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> expansion includes the variable (or key) name and that variable (or</span></td><td> </td><td class="rblock"><span class="insert"> corresponding value is empty.</span> The entry for "allow" indicates what</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> key) has an empty value.</span> The entry for "allow" indicates what</td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> characters to allow unencoded within the value expansion: (U) means</td><td> </td><td class="right"> characters to allow unencoded within the value expansion: (U) means</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> any character not in the unreserved set will be encoded; (U+R) means</td><td> </td><td class="right"> any character not in the unreserved set will be encoded; (U+R) means</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> any character not in the (unreserved / reserved / pct-encoding) set</td><td> </td><td class="right"> any character not in the (unreserved / reserved / pct-encoding) set</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> will be encoded; and, for both cases, disallowed characters are</td><td> </td><td class="right"> will be encoded; and, for both cases, disallowed characters are</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> encoded as UTF-8 (a sequence of octets) and then each octet is</td><td> </td><td class="right"> encoded as UTF-8 (a sequence of octets) and then each octet is</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> encoded as a pct-encoded triplet.</td><td> </td><td class="right"> encoded as a pct-encoded triplet.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> .------------------------------------------------------------------.</td><td> </td><td class="right"> .------------------------------------------------------------------.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> | NUL + . / ; ? & # |</td><td> </td><td class="right"> | NUL + . / ; ? & # |</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> |------------------------------------------------------------------|</td><td> </td><td class="right"> |------------------------------------------------------------------|</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno"></td></tr>
<tr bgcolor="gray" ><td></td><th><a name="part-l19" /><small>skipping to change at</small><em> page 28, line 48</em></th><th> </th><th><a name="part-r19" /><small>skipping to change at</small><em> page 28, line 4</em></th><td></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> With the above table in mind, process the variable-list as follows:</td><td> </td><td class="right"> With the above table in mind, process the variable-list as follows:</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> For each varspec, extract the varname and optional modifier, lookup</td><td> </td><td class="right"> For each varspec, extract the varname and optional modifier, lookup</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> the value for that variable, and then:</td><td> </td><td class="right"> the value for that variable, and then:</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> o If the varname is unknown or corresponds to a variable with an</td><td> </td><td class="right"> o If the varname is unknown or corresponds to a variable with an</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> undefined value (Section 3.2.1), then skip to the next varspec.</td><td> </td><td class="right"> undefined value (Section 3.2.1), then skip to the next varspec.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> o If this is the first defined variable for this expression, append</td><td> </td><td class="right"> o If this is the first defined variable for this expression, append</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> the first string for this expression type to the result string and</td><td> </td><td class="right"> the first string for this expression type to the result string and</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> remember that it has been done. Otherwise, append the sep string</td><td> </td><td class="right"> remember that it has been done. Otherwise, append the sep string</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> to the result string.</td><td> </td><td class="right"> to the result string.</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0039" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> o If <span class="delete">an explode modifier is present, then</span></td><td> </td><td class="rblock"> </td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> * If the variable</span> is a <span class="delete">list, then append each defined list member</span></td><td> </td><td class="rblock"> o If <span class="insert">this variable's value</span> is a string, <span class="insert">then:</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> to the result</span> string, <span class="delete">after encoding any characters that are</span></td><td> </td><td class="rblock"> * if named is true, append the varname to the result string using</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> not in the allow set, with the sep string appended to the</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> result between each defined list member.</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> * <span class="delete">If the variable is an associative array of (name, value) pairs,</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> then append each pair with a defined value to the result string</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> as "name=value", after encoding any characters that are not in</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> the allow set, with the sep string appended to the result</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> between each defined pair.</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> * Otherwise (the variable is a string):</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> + If named is true, append the varname to the result string</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> using the same encoding process as for literals, and</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> -</span> if <span class="delete">the value is empty, append the ifemp string to the</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> result string and skip to the next varspec;</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> - otherwise, append "=" to the result string.</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> + Append the value to the result string after encoding any</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> characters that are not in the allow set.</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> o If an explode modifier is not present, then</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> * If</span> named is true, append the varname to the result string using</td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> the same encoding process as for literals, and</td><td> </td><td class="right"> the same encoding process as for literals, and</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> + if the value is empty, append the ifemp string to the result</td><td> </td><td class="right"> + if the value is empty, append the ifemp string to the result</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> string and skip to the next varspec;</td><td> </td><td class="right"> string and skip to the next varspec;</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> + otherwise, append "=" to the result string.</td><td> </td><td class="right"> + otherwise, append "=" to the result string.</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0040" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> * <span class="delete">If</span> the <span class="delete">variable</span> is a list, append each defined list member to</td><td> </td><td class="rblock"> * <span class="insert">if a prefix modifier is present and the prefix length is less</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> the result string, after encoding any characters that are not</td><td> </td><td class="rblock"><span class="insert"> than the value string length in number of Unicode characters,</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> append that number of characters from the beginning of the</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> value string to the result string, after encoding any</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> characters that are not in the allow set, while taking care not</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> to split multi-octet or pct-encoded triplet characters that</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> represent a single Unicode codepoint;</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> * otherwise, append the value to the result string after encoding</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> any characters that are not in</span> the <span class="insert">allow set.</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> o If this variable's value</span> is a list, <span class="insert">then:</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> * if no explode modifier is given, then:</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> + if named is true, append the varname to the result string</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> using the same encoding process as for literals, and</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> - if the value is empty, append the ifemp string to the</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> result string and skip to the next varspec;</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> - otherwise, append "=" to the result string; and</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> +</span> append each defined list member to the result string, after</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"> encoding any characters that are not <span class="insert">in the allow set, with</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> a comma (",") appended to the result between each defined</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> list member.</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> * else if an explode modifier is given, then:</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> + append each defined list member to the result string, after</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> encoding any characters that are not in the allow set, with</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> the sep string appended to the result between each defined</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> list member.</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> o If this variable's value is an associative array or any other form</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> of paired (name, value) structure, then:</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> * if no explode modifier is given, then:</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> + if named is true, append the varname to the result string</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> using the same encoding process as for literals, and</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> - if the value is empty, append the ifemp string to the</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> result string and skip to the next varspec;</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> - otherwise, append "=" to the result string; and</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> + append each pair with a defined value to the result string</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> as "name,value", after encoding any characters that are not</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> in the allow set, with a comma (",") appended to the result</td><td> </td><td class="right"> in the allow set, with a comma (",") appended to the result</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0041" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> between each defined <span class="delete">list member.</span></td><td> </td><td class="rblock"> between each defined <span class="insert">pair.</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> * <span class="delete">If the variable is</span> an <span class="delete">associative array of (name, value) pairs,</span></td><td> </td><td class="rblock"> * <span class="insert">else if</span> an <span class="insert">explode modifier is given, then:</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> append each pair with a defined value to the result string as</td><td> </td><td class="rblock"><span class="insert"> +</span> append each pair with a defined value to the result string</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> <span class="delete">"name,value",</span> after encoding any characters that are not in the</td><td> </td><td class="rblock"> as <span class="insert">"name=value",</span> after encoding any characters that are not</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> allow set, with <span class="delete">a comma (",")</span> appended to the result between</td><td> </td><td class="rblock"> in the allow set, with <span class="insert">the sep string</span> appended to the result</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> each defined pair.</td><td> </td><td class="rblock"> between each defined pair.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> <span class="delete">* Otherwise (the variable is a string), then</span></td><td> </td><td class="rblock"> </td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> + if a prefix modifier is present and the prefix length is</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> less than the value string length in number of Unicode</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> characters, append that number of characters from the</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> beginning of the value string to the result string, after</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> encoding any characters that are not in the allow set, while</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> taking care not to split multi-octet or pct-encoded triplet</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> characters that represent a single Unicode codepoint;</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> + otherwise, append the value to the result string after</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"><span class="delete"> encoding any characters that are not in the allow set.</span></td><td> </td><td class="rblock"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> When the variable-list for this expression is exhausted, go back to</td><td> </td><td class="right"> When the variable-list for this expression is exhausted, go back to</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> scan the remainder of the template.</td><td> </td><td class="right"> scan the remainder of the template.</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left">Authors' Addresses</td><td> </td><td class="right">Authors' Addresses</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Joe Gregorio</td><td> </td><td class="right"> Joe Gregorio</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Google</td><td> </td><td class="right"> Google</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Email: [email protected]</td><td> </td><td class="right"> Email: [email protected]</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> URI: http://bitworking.org/</td><td> </td><td class="right"> URI: http://bitworking.org/</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0042" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> Roy T. Fielding<span class="delete"> (editor)</span></td><td> </td><td class="rblock"> Roy T. Fielding</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Adobe Systems Incorporated</td><td> </td><td class="right"> Adobe Systems Incorporated</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Email: [email protected]</td><td> </td><td class="right"> Email: [email protected]</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> URI: http://roy.gbiv.com/</td><td> </td><td class="right"> URI: http://roy.gbiv.com/</td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Marc Hadley</td><td> </td><td class="right"> Marc Hadley</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0043" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> <span class="delete">Oracle</span></td><td> </td><td class="rblock"> <span class="insert">The MITRE Corporation</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0044" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> Email: <span class="delete">[email protected]</span></td><td> </td><td class="rblock"> Email: <span class="insert">[email protected]</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> URI: <span class="delete">http://oracle.com/</span></td><td> </td><td class="rblock"> URI: <span class="insert">http://mitre.org/</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> Mark Nottingham</td><td> </td><td class="right"> Mark Nottingham</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0045" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> Rackspace</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0046" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> Email: <span class="delete">[email protected]</span></td><td> </td><td class="rblock"> Email: <span class="insert">[email protected]</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"> URI: <span class="delete">http://mnot.net/</span></td><td> </td><td class="rblock"> URI: <span class="insert">http://www.mnot.net/</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> David Orchard</td><td> </td><td class="right"> David Orchard</td><td class="lineno" valign="top"></td></tr>
<tr><td><a name="diff0047" /></td></tr>
<tr><td class="lineno" valign="top"></td><td class="lblock"></td><td> </td><td class="rblock"><span class="insert"> Salesforce.com</span></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"></td><td> </td><td class="right"></td><td class="lineno" valign="top"></td></tr>
<tr><td class="lineno" valign="top"></td><td class="left"> URI: http://www.pacificspirit.com/</td><td> </td><td class="right"> URI: http://www.pacificspirit.com/</td><td class="lineno" valign="top"></td></tr>
<tr><td></td><td class="left"></td><td> </td><td class="right"></td><td></td></tr>
<tr bgcolor="gray"><th colspan="5" align="center"><a name="end"> End of changes. 47 change blocks. </a></th></tr>
<tr class="stats"><td></td><th><i>148 lines changed or deleted</i></th><th><i> </i></th><th><i>152 lines changed or added</i></th><td></td></tr>
<tr><td colspan="5" align="center" class="small"><br/>This html diff was produced by rfcdiff 1.34. The latest version is available from <a href="http://www.tools.ietf.org/tools/rfcdiff/" >http://tools.ietf.org/tools/rfcdiff/</a> </td></tr>
</table>
</body>
</html>