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

Allow codecs to be instantiated without a SchemaPath

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 2.0.17, 2.1.9
    • codecs
    • None

    Description

      Current API design, which requires a SchemaContext and a SchemaPath is not completely sufficient to disambiguate references and furthermore forces a lookup which can be avoided if the caller has the matching SchemaNode available.

      Make sure JSONNormalizedNodeStreamWriter and XMLStreamNormalizedNodeStreamWriter can be instantiated by providing a combination of SchemaContext and DataNodeContainer.

      Attachments

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

            Dates

              Created:
              Updated:
              Resolved: