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

Split out XML attribute handling

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed
    • High
    • Resolution: Unresolved
    • None
    • 14.0.0
    • codecs
    • None

    Description

      The YANGTOOLS-960/YANGTOOLS-961 migration failed to separate out metadata from plain XML attributes, potentially polluting metadata.

      A much cleaner solution is possible, though, by allowing yang-data-codec-xml exposing a specialized NormalizedNodeStreamWriterExtension, which will handle XML attributes in their native format – including namespace declaration, but omitting anything that matches a metadata annotation. Define the extension and implement in both in inbound and outbound directions.

       

      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: