Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unrecognized properties with structural content should be recursively consumed #68

Closed
ceharris opened this issue Aug 30, 2018 · 0 comments

Comments

@ceharris
Copy link
Member

The ViewKeys.IGNORE_UNKNOWN_PROPERTIES option can be used to ignore unknown properties when applying a view. This works fine for properties with scalar values. However, if the property has a value that is an object or an array, the BEGIN event is ignored, but the subsequent events leading up to the corresponding END are not properly ignored.

When an unrecognized property with an object or array value is to be ignored, the applicator must recursively consume events until the corresponding END event is consumed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant