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

isError returns false even when there are validation errors

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocking Blocking
    • 2.0.0
    • None
    • API
    • None

    Description

      Currently, ParseResult#isError only returns true if there are parse errors. If there are validation errors, it will return false. This is incorrect. Instead, isError should return true if there are either parse errors or validation errors. Furthermore, we should add new API functions (e.g. isParseError, isUnparseError, isValidationError) that can be used to determine specifically what kind of error occurred if the user only caresĀ about one type of error (e.g. validation vs parse errors).

      Gliffy Diagrams

        Attachments

          Activity

            People

              jadams Joshua Adams
              slawrence Steve Lawrence
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Tasks