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

CalendarLanguageTypes regex pattern not recognized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • s2
    • s2
    • None
    • Intellij

    Description

      The Regex string "([A-Za-z]

      {1,8}([-][A-Za-z0-9]{1,8}

      )*)" is valid however the regex compiler for DFDL_part1_simpletypes.xsd fails to compile this string and generates an error with the expression "[-]". The main problem is although valid the character class of one element is itself redundant so although I believe the minus can be escaped with a reverse solidus, visa vi "[\-]", I think the best solution is to simply replace this with the character itself: "-".

      Attachments

        Activity

          People

            daffodil-pchu Paul Chu (Inactive)
            daffodil-jeffrey.jacobs Jeffrey C. Jacobs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: