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

yang-data-api: NormalizedNodeStreamWriter extensibility

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Resolution: Done
    • None
    • 3.0.0
    • None
    • None
    • Operating System: All
      Platform: All

    Description

      NormalizedNodeStreamWriter API interface has a rather unfortunate design flaw, which limits its usability in case of leaf nodes, leafset entry nodes and anyxml nodes, in particular it does not define a window when such nodes are logically 'open' and extension events (specified by other interfaces) may be called.

      Design a new interface which will make sure all nodes need to be terminate with a call to endNode. New extension can then work by defining that things like 'emitAttributes' can be called on an open node, without having two sets of methods.

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

              Dates

                Created:
                Updated:
                Resolved: