You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that IRI values are not validated, as the URI values are.
In the /json-schema/tests/src/test/resources/org/everit/json/schema/draft7/optional/iri.json, I made a copy of the test to check as below. The tests pass contrary to expectations. Creating PR with a sample shortly. { "description": "an invalid IRI though valid IRI reference", "data": "âππ", "valid": false }, { "description": "an invalid IRI though valid IRI reference - copy", "data": "âππ", "valid": true }
The text was updated successfully, but these errors were encountered:
indrajra
pushed a commit
to indrajra/json-schema
that referenced
this issue
Oct 23, 2018
@erosb - Yeah, I realised it was not there listed after posting. Thanks for letting me know the priorities. Let me first consume this lib as-is and then give a shot to enhance it for IRI support. Cheers!
It appears that IRI values are not validated, as the URI values are.
In the /json-schema/tests/src/test/resources/org/everit/json/schema/draft7/optional/iri.json, I made a copy of the test to check as below. The tests pass contrary to expectations. Creating PR with a sample shortly.
{ "description": "an invalid IRI though valid IRI reference", "data": "âππ", "valid": false }, { "description": "an invalid IRI though valid IRI reference - copy", "data": "âππ", "valid": true }
The text was updated successfully, but these errors were encountered: