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

asserts and discriminators with testKind pattern should start pattern match at start of framing.

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • s8
    • s5
    • Back End, Middle "End"
    • None

      This issue anticipates a recent DFDL workgroup clarification on how discriminators/asserts of testKind pattern work.

      This should be confirmed as an official errata or in the next draft of the DFDL spec before implementing this.

      It is mentioned here because potentially the grammar has to change to accomodate it. I.e., the up front framing content must NOT be parsed before considering the statement annotations.

      The point: the regex pattern match goes against the whole element representation, not against just the content region of it. Or in case of a sequence/choice, against the whole construct (starting from the start of the Left Framing).

              jadams Joshua Adams
              mbeckerle.dfdl Mike Beckerle
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: