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

Integrate NormalizedNodes with RFC7952 metadata/attributes

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Medium Medium
    • 3.0.0
    • None
    • data-impl
    • None

      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.

       

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

              Created:
              Updated:
              Resolved: