You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Minor changes on chapters 4 and 5
Introduce @egekorkan review changes specified in the following
pdf document: https://github.com/w3c/wot-scripting-api/files/5017322/ScriptingAPI-review-egekorkan.pdf
* Revert <dfn> elements and validation algorithm
* Update validation algorithm with a default filling step
* Update TD validation algorithm
Simplify so that we can build more complex steps from this solid ground
* Add editor's note in TD validation
that don't have <ahref="https://www.w3.org/TR/2019/CR-wot-thing-description-20190516/#sec-default-values">default definitions</a>
360
-
are missing from |td|, [= exception/throw =] a
361
-
{{"TypeError"}} and abort these steps.
362
-
</li>
363
-
<li>
364
-
If <ahref="https://www.w3.org/TR/2019/CR-wot-thing-description-20190516/#json-schema-for-validation">JSON schema validation</a> fails on |td|, [= exception/throw =] a
365
-
{{"TypeError"}} and abort these steps.
353
+
If <ahref="https://www.w3.org/TR/2019/CR-wot-thing-description-20190516/#json-schema-for-validation">JSON schema
354
+
validation</a> fails on |td|, [= exception/throw =] a {{"TypeError"}} and abort these steps.
366
355
</li>
367
356
</ol>
357
+
<pclass="ednote" title="Handling default values">
358
+
Additional steps may be added to fill the default values of mandatory fields.
0 commit comments