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

Allow XML codec to operate in strict metadata mode

    XMLWordPrintable

Details

    • New Feature
    • Status: Confirmed
    • Medium
    • Resolution: Unresolved
    • None
    • None
    • codecs
    • None

    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.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated: