[YANGTOOLS-981] Allow XML codec to operate in strict metadata mode Created: 03/Apr/19  Updated: 21/Oct/22

Status: Confirmed
Project: yangtools
Component/s: codecs
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Medium
Reporter: Robert Varga Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Blocks
is blocked by YANGTOOLS-982 Split out XML attribute handling Confirmed

 Description   

The transition to RFC7952 metadata handling has exposed the fact we will happily pass through any XML attribute. This does not quite align with the metadata model and hence needs to be rectified.

Since these attributes can only ever come from XML codec, expose enough knobs to restrict the accepted attributes and provide a policy for unrecognized attributes – either ignore them or fail parsing.


Generated at Wed Feb 07 20:54:51 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.