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
I have a nested schema structure, where the imports are as follows
schema1 ----> schema2
schema2
I am using a custom authority loads all the schema in a given resource path in a jar.
The validation steps :
Take input as <raw_data, schema_path> to validate against.
Load the schema at the <schema_path> at runtime
validate the <raw_data>
The validations do not return any violations in the <raw_data> corresponding to "schema2" that is imported in "schema1".
The constraints & violations in the "schema1" work fine.
Note - The validator mechanism in the example below uses default authority.
For eg.
schema1 - ClassRoom.isl
schema2 - Students.isl
I have a nested schema structure, where the imports are as follows
I am using a custom authority loads all the schema in a given resource path in a jar.
The validation steps :
The validations do not return any violations in the <raw_data> corresponding to "schema2" that is imported in "schema1".
The constraints & violations in the "schema1" work fine.
Note - The validator mechanism in the example below uses default authority.
For eg.
schema1 - ClassRoom.isl
schema2 - Students.isl
Schema / Input Details -
https://gist.github.com/vpdesai21/bd80bb76d64aa394eac2bdbc58b70085
Constraint not working - https://gist.github.com/vpdesai21/bd80bb76d64aa394eac2bdbc58b70085#file-students-isl-L15
The text was updated successfully, but these errors were encountered: