-
-
Notifications
You must be signed in to change notification settings - Fork 324
Fix missing "if present" for "else" #554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -759,12 +759,13 @@ | |
<t> | ||
Instances that fail to validate against this | ||
keyword's subschema MUST also be valid against | ||
the subschema value of the "else" keyword. | ||
the subschema value of the "else" keyword, if | ||
present. | ||
</t> | ||
<t> | ||
Validation of the instance against this keyword | ||
on its own always succeeds, regardless of the | ||
validation outcome of against its subschema. | ||
validation outcome of the instance against its subschema. | ||
</t> | ||
</section> | ||
<section title="then"> | ||
|
@@ -780,8 +781,9 @@ | |
<t> | ||
When "if" is absent, or the instance fails to | ||
validate against its subschema, validation against | ||
this keyword always succeeds. Implementations | ||
SHOULD avoid attempting to validate against | ||
this keyword always succeeds, regardless of the | ||
validation outcome of the instance against its subschema. | ||
Implementations SHOULD avoid attempting to validate against | ||
the subschema in these cases. | ||
</t> | ||
</section> | ||
|
@@ -799,8 +801,9 @@ | |
<t> | ||
When "if" is absent, or the instance successfully | ||
validates against its subschema, validation against | ||
this keyword always succeeds. Implementations | ||
SHOULD avoid attempting to validate against | ||
this keyword always succeeds, regardless of the | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I know this isn't your change, but I find the phrasing... This reads to me as, when the subschema of That can't be the intent... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Great feedback, I'll play around with this some more. |
||
validation outcome of the instance against its subschema. | ||
Implementations SHOULD avoid attempting to validate against | ||
the subschema in these cases. | ||
</t> | ||
</section> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment below