Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-794

Warning needed if regex contains DFDL Entities

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Users will write dfdl:lengthPattern="(.+?)(?=%CR;%LF;--)"

      Then wonder why it doesn't work (witness DFDL-792).

      Turns out, DFDL entities aren't allowed in regular expressions, so the user has to write:

      dfdl:lengthPattern="(.+?)(?=\r\n--)"

      We should examine properties that are supposed to be regex, and warn if they contain things that look like DFDL entities.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            mbeckerle Mike Beckerle

            Dates

              Created:
              Updated:

              Slack

                Issue deployment