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

Split out XML attribute handling

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • 14.0.0
    • None
    • codecs
    • None

      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.

       

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

              Created:
              Updated: