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

Improve anyxml namespace emission

    XMLWordPrintable

Details

    • Improvement
    • Status: Confirmed
    • Medium
    • Resolution: Unresolved
    • None
    • None
    • codecs
    • None

    Description

      Our XML restreaming for anyxml nodes emits namespace declarations as they are encountered in the source. While this works, it can also lead to namespaces being emitted multiple times, as anyxml nodes are inherently emitted as in the context of a document - hence the namespace may already be properly bound.

      Improve namespace declaration forwarding so that it does not emit a namespace declaration if the prefix is already properly bound.

      Attachments

        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated: