Closed
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".