Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1205

API: requesting full validation and restoring a saved parser should be incompatible

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.1.0
    • Component/s: API, CLI
    • Labels:
      None

      Description

      Because a saved parser does not save the entire schema, it makes no sense to request "full" validation (which runs xerces against the DFDL infoset after converting it to XML).

      CLI should catch this error and point out to the user the error of their ways. API can just throw an appropriate exception indicating the incompatibility.

      We could consider an enhancement someday to package the entire schema together with the saved parser purely to lift this restriction, but for now these should just be incompatible.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              efinnegan Elizabeth Finnegan
              Reporter:
              mbeckerle.dfdl Mike Beckerle
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 1 hour, 1 minute
                  1h 1m

                    Tasks