Closed MohammadHossein-Namjoo closed 5 months ago
I believe that's the same as #520, fixed in latest release 0.176.0. (https://github.com/danielaparker/jsoncons/commit/f393930fb58a884e317fa50a19faa441a3a998b5 predates the fix)
I'm closing this as it appears to be a duplicate of an issue already fixed.
When validating with a JSON Schema that uses "format" in one of its properties, other properties are validated (even with wrong values)
Example schema: exampleSchema.json
Example JSON to validate:
When validating the given JSON against the given schema Expectation: The validation should fail because 256 is bigger than the maximum specified in the schema.
Actual Behavior: The validation passes.
NOTE If the schema is changed to use a "pattern" instead of the "format", this issue does not happen.
What compiler, architecture, and operating system?
What jsoncons library version? master - f393930fb58a884e317fa50a19faa441a3a998b5