Skip to content

Latest commit

 

History

History
63 lines (57 loc) · 7.14 KB

json-schema.md

File metadata and controls

63 lines (57 loc) · 7.14 KB

@cfworker/json-schema - test summary

Some validators have deliberately chosen not to support parts of the spec. Go to the @cfworker/json-schema homepage to learn if that is the case for these tests.

test failed reason
invalid instance should not raise error when float division = inf, always invalid, but naive implementations may raise an overflow error Expected result: false but validator returned: true
validation of string-encoded content based on media type, an invalid JSON document Expected result: false but validator returned: true
validation of binary string-encoding, an invalid base64 string (% is not a valid character) Expected result: false but validator returned: true
validation of binary-encoded media type documents, a validly-encoded invalid JSON document Expected result: false but validator returned: true
validation of binary-encoded media type documents, an invalid base64 string that is valid JSON Expected result: false but validator returned: true
validation of an internationalized e-mail addresses, an invalid idn e-mail address Expected result: false but validator returned: true
validation of an internationalized e-mail addresses, an invalid e-mail address Expected result: false but validator returned: true
validation of internationalized host names, illegal first char U+302E Hangul single dot tone mark Expected result: false but validator returned: true
validation of internationalized host names, contains illegal char U+302E Hangul single dot tone mark Expected result: false but validator returned: true
validation of internationalized host names, a host name with a component too long Expected result: false but validator returned: true
validation of internationalized host names, invalid label, correct Punycode Expected result: false but validator returned: true
validation of internationalized host names, invalid Punycode Expected result: false but validator returned: true
validation of internationalized host names, U-label contains "--" in the 3rd and 4th position Expected result: false but validator returned: true
validation of internationalized host names, U-label starts with a dash Expected result: false but validator returned: true
validation of internationalized host names, U-label ends with a dash Expected result: false but validator returned: true
validation of internationalized host names, U-label starts and ends with a dash Expected result: false but validator returned: true
validation of internationalized host names, Begins with a Spacing Combining Mark Expected result: false but validator returned: true
validation of internationalized host names, Begins with a Nonspacing Mark Expected result: false but validator returned: true
validation of internationalized host names, Begins with an Enclosing Mark Expected result: false but validator returned: true
validation of internationalized host names, Exceptions that are DISALLOWED, right-to-left chars Expected result: false but validator returned: true
validation of internationalized host names, Exceptions that are DISALLOWED, left-to-right chars Expected result: false but validator returned: true
validation of internationalized host names, MIDDLE DOT with no preceding 'l' Expected result: false but validator returned: true
validation of internationalized host names, MIDDLE DOT with nothing preceding Expected result: false but validator returned: true
validation of internationalized host names, MIDDLE DOT with no following 'l' Expected result: false but validator returned: true
validation of internationalized host names, MIDDLE DOT with nothing following Expected result: false but validator returned: true
validation of internationalized host names, Greek KERAIA not followed by Greek Expected result: false but validator returned: true
validation of internationalized host names, Greek KERAIA not followed by anything Expected result: false but validator returned: true
validation of internationalized host names, Hebrew GERESH not preceded by Hebrew Expected result: false but validator returned: true
validation of internationalized host names, Hebrew GERESH not preceded by anything Expected result: false but validator returned: true
validation of internationalized host names, Hebrew GERSHAYIM not preceded by Hebrew Expected result: false but validator returned: true
validation of internationalized host names, Hebrew GERSHAYIM not preceded by anything Expected result: false but validator returned: true
validation of internationalized host names, KATAKANA MIDDLE DOT with no Hiragana, Katakana, or Han Expected result: false but validator returned: true
validation of internationalized host names, KATAKANA MIDDLE DOT with no other characters Expected result: false but validator returned: true
validation of internationalized host names, Arabic-Indic digits mixed with Extended Arabic-Indic digits Expected result: false but validator returned: true
validation of internationalized host names, ZERO WIDTH JOINER not preceded by Virama Expected result: false but validator returned: true
validation of internationalized host names, ZERO WIDTH JOINER not preceded by anything Expected result: false but validator returned: true
validation of IPv6 addresses, leading whitespace is invalid Expected result: false but validator returned: true
validation of IPv6 addresses, trailing whitespace is invalid Expected result: false but validator returned: true
validation of IPv6 addresses, zone id is not a part of ipv6 address Expected result: false but validator returned: true
validation of IRI References, an invalid IRI Reference Expected result: false but validator returned: true
validation of IRI References, an invalid IRI fragment Expected result: false but validator returned: true
validation of IRIs, an invalid IRI based on IPv6 Expected result: false but validator returned: true
validation of IRIs, an invalid relative IRI Reference Expected result: false but validator returned: true
validation of IRIs, an invalid IRI Expected result: false but validator returned: true
validation of IRIs, an invalid IRI though valid IRI reference Expected result: false but validator returned: true
validation of URIs, an invalid URI with comma in scheme Expected result: false but validator returned: true
Proper UTF-16 surrogate pair handling: pattern, matches empty Expected result: true but validator returned: false
Proper UTF-16 surrogate pair handling: pattern, matches two Expected result: true but validator returned: false
Proper UTF-16 surrogate pair handling: patternProperties, doesn't match two Expected result: false but validator returned: true

All other tests passed.

back to benchmarks