Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-1909

JAPI needs DISimple, DIComplex, DIArray, DIElement, etc for InfosetOutputter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.1.0
    • None
    • API
    • None

    Description

      Our JAPI and SAPI don't allow one to drill down (into the javadoc/scaladoc) of the DISimple and other DINode subclasses that are passed to the InfosetOutputter methods.

      The information on these DINode classes, including the ElementRuntimeData information needed by an infoset outputter needs to be on documented APIs.

      This suggests we need to revisit the DINode classes and subclasses, and create a read-only trait that we cast up to when passing these to the InfosetOutputter API methods.

      This is what InfosetElement, InfosetDocument, and InfosetArray were supposed to be, though whether they are suitable is unclear. The DISimple/DIComplex distinction, for example, is very helpful when creating an InfosetOutputter. We may also want to provide an interface to a subset of the ERD data - as many of its members are internally about the needs of parsers/unparsers and not relevant to the external API for Daffodil.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: