-
-
Notifications
You must be signed in to change notification settings - Fork 228
Closed
Labels
questionA non-bug or non-feature request (that typically should be redirected to another medium).A non-bug or non-feature request (that typically should be redirected to another medium).
Description
Right now, draft-04 says:
both are numbers, and have the same mathematical value; or
However, the test suite has this test: https://github.com/json-schema-org/JSON-Schema-Test-Suite/blob/develop/tests/draft4/optional/zeroTerminatedFloats.json
meaning that even though 1.0 is equal to 1, there still exists a keyword where one will validate and the other will not.
Should this be correct? I don't see any language in draft-04 for why this should be the case. I suggest remove this test, or flip the test result to "valid".
Metadata
Metadata
Assignees
Labels
questionA non-bug or non-feature request (that typically should be redirected to another medium).A non-bug or non-feature request (that typically should be redirected to another medium).