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

Ambiguity in Spec regarding validation in the presence of backtracking

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • s12
    • None
    • Documentation
    • None

      According to the spec, "validation errors cannot be suppressed by points of uncertainty." However, the behavior of validation in this situation depends on the validation mode specified. If the mode of validation that waits until parsing is over is used, this is correct. However, if the "validate as you go" method is used, we only want the errors to come through for 2 scenarios:
      1. the branch with the validation error parses successfully
      2. all choice branches fail.
      This is my understanding based on your e-mail. Please feel free to correct me if I've gotten it wrong or missed something.

              jchab Jessie Chab
              jchab Jessie Chab
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: