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

Rework XmlParserStream to eliminate unneeded buffering

    XMLWordPrintable

Details

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

    Description

      Current XML parser, while an improvement over what we had originally, still is not "streaming enough", notably it performs eager attribute scans and intermediate buffering nodes.

      Furthermore it seems that the parser does not correctly handle interleaved siblings, as the required buffering seems to be missing.

      Finally, the logic in read() looks it could use a type-safety dispatch, as we have mutually-exclusive handling for most cases, where the caller would know which branch to take.

      Attachments

        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: