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

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

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 1.1.0
    • 1.0.0
    • API, CLI
    • None

      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.

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

                Created:
                Updated:
                Resolved:

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