@@ -1401,7 +1401,7 @@ GET /foo/
1401
1401
All three keywords share the same algorithm for resolving variables from
1402
1402
instance data, which makes use of the "templatePointers" and "templateRequired"
1403
1403
keywords. When resolving "href", both it and any "base" templates
1404
- needed for resolution to an absolute URI, the algorithm is modfied to
1404
+ needed for resolution to an absolute URI, the algorithm is modified to
1405
1405
optionally accept user input based on the "hrefSchema" keyword.
1406
1406
</t >
1407
1407
<t >
@@ -1441,15 +1441,15 @@ GET /foo/
1441
1441
<preamble >
1442
1442
This is the high-level algorithm as pseudocode. "T" comes from either
1443
1443
"href" or "anchor" within the LDO, or from "base" in a containing schema.
1444
- Pseudocode for each step follows. "anchorOrHref " indicates which of the
1445
- two started the process (since "base" is always resolved in order to finish
1446
- resolving one or the other of those keywords).
1444
+ Pseudocode for each step follows. "initialTemplateKeyword " indicates
1445
+ which of the two started the process (since "base" is always resolved
1446
+ in order to finish resolving one or the other of those keywords).
1447
1447
</preamble >
1448
1448
<artwork >
1449
1449
<![CDATA[
1450
1450
templateData = populateDataFromInstance(T, ldo, instance)
1451
1451
1452
- if anchorOrHref == "href" and ldo.hrefSchema exists:
1452
+ if initialTemplateKeyword == "href" and ldo.hrefSchema exists:
1453
1453
inputData = acceptInput(ldo, instance, templateData)
1454
1454
for varname in inputData:
1455
1455
templateData[varname] = inputData[varname]
@@ -1474,7 +1474,7 @@ R = rfc6570ResolutionAlgorithm(T, templateData)
1474
1474
appears in that keyword's value
1475
1475
</t >
1476
1476
<t >
1477
- Otherwise, look for a property names matching the variable in
1477
+ Otherwise, look for a property name matching the variable in
1478
1478
the instance location to which the link is attached
1479
1479
</t >
1480
1480
<t >
@@ -1530,7 +1530,7 @@ for varname in T:
1530
1530
<preamble >
1531
1531
"InputForm" represents whatevers sort of input mechanism is appropriate.
1532
1532
This may be a literal web form, or may be a more programmatic construct
1533
- such as a callback funciton accepting specific fields and data types,
1533
+ such as a callback function accepting specific fields and data types,
1534
1534
with the given initial values, if any.
1535
1535
</preamble >
1536
1536
<artwork >
0 commit comments