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

Warning needed if regex contains DFDL Entities

    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

          People

            Unassigned Unassigned
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: