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

Integrate NormalizedNodes with RFC7952 metadata/attributes

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 3.0.0
    • data-impl
    • None

    Description

      Current integration of NormalizedNodes and XML attributes is tacky in multiple ways:

      • ImmutableNormalizedNodeStreamWriter completely ignores attributes
      • attribute streaming is bolted on as a separate NormalizedNodeStreamWriter interface
      • attributes are Map<QName,String> pairs, which means they are not normalized
      • the integration completely ignores RFC7952 guidance
      • attributes do not contribute to hashCode/equals

      The only user of attributes is NETCONF, which uses yang.data.api.ModifyAction, a manifestation of RFC6241 Section 7.2 – which should be easy to update.

       

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: