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

Reimplement YinStatementSourceImpl in terms of DOM

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 7054

    Description

      Current implementation of YIN parsing is based on StAX, which means that each processing phase ends up re-parsing the XML from scratch. It also means that YinStatementParserImpl is very complicated.

      Using a W3C DOM Document is much more natural, as that will end up parsing the input XML only once and provides convenient iteration, leading to a much simpler and performant implementation at the cost of some memory overhead.

      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:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: