Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-981

Allow XML codec to operate in strict metadata mode

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • codecs
    • None

      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.

            Unassigned Unassigned
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: