Current implementation model of ISL doesn't store the relative order for ISL and non ISL contents.
The following can not be differentiated with current implementation:
In order to preserve this relative order IslSchema should be changed to contain a vector of enums where the enum can have either ISL or non ISL(open content). A possible enum could look like following:
Current implementation model of ISL doesn't store the relative order for ISL and non ISL contents. The following can not be differentiated with current implementation:
and
In order to preserve this relative order
IslSchema
should be changed to contain a vector of enums where theenum
can have either ISL or non ISL(open content). A possibleenum
could look like following:Reference comment: https://github.com/amazon-ion/ion-schema-rust/pull/145#discussion_r1092819029